Skip to content

Commit

Permalink
Fixed DEBUG setting from string to bool type
Browse files Browse the repository at this point in the history
  • Loading branch information
n8creator committed Dec 13, 2023
1 parent 9a4bf94 commit 05634b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion task_manager/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
SECRET_KEY = os.getenv("SECRET_KEY", "secret_key")

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

print("DEBUG:", type(DEBUG), DEBUG, SECRET_KEY)

ALLOWED_HOSTS = [
"127.0.0.1",
Expand Down

0 comments on commit 05634b9

Please sign in to comment.