Skip to content

Commit

Permalink
fix: debug mode is set correctly (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
stickyPiston authored Jan 7, 2025
1 parent 7d18a6b commit c26257f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion undead_mongoose/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
SECRET_KEY = os.getenv("DJANGO_KEY")

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.getenv("DEBUG")
DEBUG = os.getenv("DEBUG") == "True"

ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS", "").split(" ")
CSRF_TRUSTED_ORIGINS = [
Expand Down

0 comments on commit c26257f

Please sign in to comment.