Skip to content

Commit

Permalink
Django debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rnovec committed Jan 1, 2021
1 parent 05e29b3 commit 2e46da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aaaimxadmin/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
SECRET_KEY = os.environ.get("SECRET_KEY", None)

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

ALLOWED_HOSTS = ["*"]

Expand Down

0 comments on commit 2e46da6

Please sign in to comment.