fixing debug issue in setting

This commit is contained in:
Gowtham Sai 2022-08-31 16:15:18 +05:30
parent 805c0e0154
commit 8d6976fb81
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = os.environ.get("SECRET_KEY")
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ.get('DEBUG')
DEBUG = os.environ.get('DEBUG') == "True"
ALLOWED_HOSTS = ['cdc.iitdh.ac.in', 'localhost']