Skip to content

Commit

Permalink
Merge branch 'main' of ssh://gitlab.com/divio/templates/getting-start…
Browse files Browse the repository at this point in the history
…ed-with-django
  • Loading branch information
FinalAngel committed Jun 25, 2024
2 parents 1491627 + 3dbbdbf commit bfd6314
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mysite/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
# See https://docs.djangoproject.com/en/5.0/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'changeme'
SECRET_KEY = os.environ.get('SECRET_KEY', 'changeme')

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = os.environ.get('DEBUG', 'False') == 'True'

ALLOWED_HOSTS = ["*"]
CSRF_TRUSTED_ORIGINS=["https://*.aldryn.io"]
Expand Down

0 comments on commit bfd6314

Please sign in to comment.