Ver Fonte

Don't use L10N and TZ also.

INADA Naoki há 12 anos atrás
pai
commit
ee20502f8b
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      django/hello/hello/settings.py

+ 2 - 2
django/hello/hello/settings.py

@@ -42,10 +42,10 @@ USE_I18N = False
 
 
 # If you set this to False, Django will not format dates, numbers and
 # If you set this to False, Django will not format dates, numbers and
 # calendars according to the current locale.
 # calendars according to the current locale.
-USE_L10N = True
+USE_L10N = False
 
 
 # If you set this to False, Django will not use timezone-aware datetimes.
 # If you set this to False, Django will not use timezone-aware datetimes.
-USE_TZ = True
+USE_TZ = False
 
 
 # Absolute filesystem path to the directory that will hold user-uploaded files.
 # Absolute filesystem path to the directory that will hold user-uploaded files.
 # Example: "/home/media/media.lawrence.com/media/"
 # Example: "/home/media/media.lawrence.com/media/"