Explorar o código

HUE-1673 Make datetime fields unaware of timezones

Abraham Elmahrek %!s(int64=12) %!d(string=hai) anos
pai
achega
45f4e07
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/core/src/desktop/settings.py

+ 1 - 1
desktop/core/src/desktop/settings.py

@@ -79,7 +79,7 @@ USE_I18N = True
 USE_L10N = True
 
 # If you set this to False, Django will not use timezone-aware datetimes.
-USE_TZ = True
+USE_TZ = False
 
 # URL that handles the media served from MEDIA_ROOT. Make sure to use a
 # trailing slash.