fix: update boolean env comparison logic

This commit is contained in:
ramvignesh-b
2026-04-26 11:16:42 +05:30
parent 73e1e64a33
commit 01bac9840f
+1 -1
View File
@@ -46,7 +46,7 @@ else:
SECRET_KEY = env("SECRET_KEY") SECRET_KEY = env("SECRET_KEY")
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = env("DEBUG") DEBUG = env("DEBUG", default="false").lower().strip() == "true"
# Application definition # Application definition