Skip to content

Commit

Permalink
docs: describe DJANGO_DB_RESET env var
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaveman committed Nov 1, 2023
1 parent 58c9c68 commit 0839086
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/configuration/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,17 @@ writable by the Django process._

By default, the base project directory (i.e. the root of the repository).

### `DJANGO_DB_RESET`

!!! warning "Deployment configuration"

You may change this setting when deploying the app to a non-localhost domain

Boolean:

- `True` (default): deletes the existing database file and runs fresh Django migrations.
- `False`: Django uses the existing database file.

### `DJANGO_DEBUG`

!!! warning "Deployment configuration"
Expand Down

0 comments on commit 0839086

Please sign in to comment.