Skip to content

Commit

Permalink
feat: added debugging with environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
gh0stfrk committed Apr 23, 2024
1 parent 197a0f1 commit 5219e11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django_project/config/production.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
from .base import *

DEBUG = False
DEBUG = os.getenv("DEBUG_STATUS", False)

DB_NAME = os.getenv("DB_NAME")
DB_USER = os.getenv("DB_USER")
Expand All @@ -18,7 +18,7 @@
'HOST': DB_HOST,
'PORT': DB_PORT,
}
}
}

STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
SECRET_KEY = os.getenv("SECRET_KEY", "")
Expand Down

0 comments on commit 5219e11

Please sign in to comment.