Skip to content

Commit

Permalink
update debug to read from the environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikiejoe committed Oct 29, 2024
1 parent 495b4e9 commit 8798083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
SECRET_KEY = config("SECRET_KEY")

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = config("DEBUG", default=False, cast=bool)
ALLOWED_HOSTS = ["*"]


Expand Down

0 comments on commit 8798083

Please sign in to comment.