Update TEMPLATE.env - add command to generate django secret (#270)

This commit is contained in:
rsp2k 2023-06-12 11:59:26 -06:00 committed by GitHub
parent 9980cc12f2
commit b9ffb10668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ EMAIL_USE_SSL=True
# EMAIL_USE_TLS=True # EMAIL_USE_TLS=True
SERVER_EMAIL=Shynet <noreply@shynet.example.com> SERVER_EMAIL=Shynet <noreply@shynet.example.com>
# General Django settings # General Django settings - to generate run: python3 -c "import secrets; print(secrets.token_urlsafe())"
DJANGO_SECRET_KEY=random_string DJANGO_SECRET_KEY=random_string
# Set these to your deployment's domain. Both are comma separated, but CSRF_TRUSTED_ORIGINS also requires a scheme (e.g., `https://`). # Set these to your deployment's domain. Both are comma separated, but CSRF_TRUSTED_ORIGINS also requires a scheme (e.g., `https://`).