From 0839086462e6e8e99f0910a7cc654b5df8e149e3 Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Wed, 1 Nov 2023 22:41:41 +0000 Subject: [PATCH] docs: describe DJANGO_DB_RESET env var --- docs/configuration/environment-variables.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/configuration/environment-variables.md b/docs/configuration/environment-variables.md index 7d2131c8c..0392427d9 100644 --- a/docs/configuration/environment-variables.md +++ b/docs/configuration/environment-variables.md @@ -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"