jeremystretch 3 лет назад
Родитель
Сommit
8fb91a1f8c
2 измененных файлов с 3 добавлено и 2 удалено
  1. 1 0
      docs/release-notes/version-3.4.md
  2. 2 2
      netbox/netbox/settings.py

+ 1 - 0
docs/release-notes/version-3.4.md

@@ -60,6 +60,7 @@ A new `PluginMenu` class has been introduced, which enables a plugin to inject a
 * [#10699](https://github.com/netbox-community/netbox/issues/10699) - Remove custom `import_object()` function
 * [#10816](https://github.com/netbox-community/netbox/issues/10816) - Pass the current request when instantiating a FilterSet within UI views
 * [#10820](https://github.com/netbox-community/netbox/issues/10820) - Switch timezone library from pytz to zoneinfo
+* [#10821](https://github.com/netbox-community/netbox/issues/10821) - Enable data localization
 
 ### REST API Changes
 

+ 2 - 2
netbox/netbox/settings.py

@@ -386,8 +386,8 @@ AUTHENTICATION_BACKENDS = [
 
 # Internationalization
 LANGUAGE_CODE = 'en-us'
-USE_I18N = True
-USE_L10N = False
+
+# Time zones
 USE_TZ = True
 
 # WSGI