Skip to content

Commit 0839086

Browse files
committed
docs: describe DJANGO_DB_RESET env var
1 parent 58c9c68 commit 0839086

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/configuration/environment-variables.md

+11
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,17 @@ writable by the Django process._
5454

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

57+
### `DJANGO_DB_RESET`
58+
59+
!!! warning "Deployment configuration"
60+
61+
You may change this setting when deploying the app to a non-localhost domain
62+
63+
Boolean:
64+
65+
- `True` (default): deletes the existing database file and runs fresh Django migrations.
66+
- `False`: Django uses the existing database file.
67+
5768
### `DJANGO_DEBUG`
5869

5970
!!! warning "Deployment configuration"

0 commit comments

Comments
 (0)