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-cms
  • Loading branch information
FinalAngel committed Jun 25, 2024
2 parents 1fc8f0e + 513cea8 commit 190e93a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@


# 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 190e93a

Please sign in to comment.