From c9fb4953bad1c053a9b47e074f66df1845e8a93e Mon Sep 17 00:00:00 2001 From: Parsa Nazer Date: Mon, 27 Jan 2025 22:08:18 +0330 Subject: [PATCH] debug false --- backend/core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/core/settings.py b/backend/core/settings.py index 593d243..65a2e8d 100644 --- a/backend/core/settings.py +++ b/backend/core/settings.py @@ -27,7 +27,7 @@ EMAIL_HOST_PASSWORD = os.getenv("EMAIL_HOST_PASSWORD") DEFAULT_FROM_EMAIL = os.getenv("SECRET_KEY") SECRET_KEY = os.getenv("SECRET_KEY") -DEBUG = True +DEBUG = False # in production lists of allowed hosts and allowed orgins will genrate # in development every host and orgin will be true # in prodcution it will use the postgres info you enterd in .env.local