Use Django's internal secret key generation
This commit is contained in:
parent
0e03f327b1
commit
e9817df97e
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ If you created the database from scratch, Django will show an error when visitin
|
||||||
|
|
||||||
You can set the following variables in the `.env` file:
|
You can set the following variables in the `.env` file:
|
||||||
|
|
||||||
* `KHAGANAT_SECRET_KEY` (required): Django's secret key, keep it secret (tip: generate one using `openssl rand -base64 42`).
|
* `KHAGANAT_SECRET_KEY` (required): Django's secret key, keep it secret (tip: generate one using `pipenv run python -c 'from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())'`).
|
||||||
* `KHAGANAT_DEBUG`: Debug mode, default is false.
|
* `KHAGANAT_DEBUG`: Debug mode, default is false.
|
||||||
* `KHAGANAT_HOSTNAMES`: Allowed hostnames, coma separated.
|
* `KHAGANAT_HOSTNAMES`: Allowed hostnames, coma separated.
|
||||||
* `KHAGANAT_LANGUAGE_CODE`: Language code, default is `fr`.
|
* `KHAGANAT_LANGUAGE_CODE`: Language code, default is `fr`.
|
||||||
|
|
Loading…
Reference in a new issue