Explorar o código

Allow settings TZ with envs

Colin Powell %!s(int64=3) %!d(string=hai) anos
pai
achega
98c57c8621
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      emus/settings.py

+ 1 - 1
emus/settings.py

@@ -109,7 +109,7 @@ AUTH_PASSWORD_VALIDATORS = [
 
 LANGUAGE_CODE = "en-us"
 
-TIME_ZONE = "EST"
+TIME_ZONE = os.getenv("EMUS_TIME_ZONE", "EST")
 
 USE_I18N = True