feat(config/settings): externalize TIME_ZONE via env variable
Allow TIME_ZONE to be configured via environment variable while keeping default.
This commit is contained in:
1 file changed
+1
-1
@@ -117,7 +117,7 @@ SESSION_SAVE_EVERY_REQUEST = True
|
||||
# ── Internationalisation ──────────────────────────────────────────────────────
|
||||
|
||||
LANGUAGE_CODE = "en-us"
|
||||
TIME_ZONE = "Asia/Kathmandu"
|
||||
TIME_ZONE = env("TIME_ZONE", default="Asia/Kathmandu")
|
||||
USE_I18N = True
|
||||
USE_TZ = True
|
||||
|
||||
|
||||
Reference in new issue
Block a user