diff --git a/todo_project/settings.py b/todo_project/settings.py index b50a74c..40d719c 100644 --- a/todo_project/settings.py +++ b/todo_project/settings.py @@ -22,7 +22,7 @@ SECRET_KEY = os.environ.get("SECRET_KEY", "SgLSDnEtU4kkqXJMYTJbKCq861VpNd5s") # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = os.environ.get("DEBUG", True) ALLOWED_HOSTS = ["*", "localhost", "127.0.0.1", ".vercel.app", ".now.sh"]