Explorar o código

Define LOCALE_PATHS

Jeremy Stretch %!s(int64=2) %!d(string=hai) anos
pai
achega
36072f17a9
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      netbox/netbox/settings.py

+ 4 - 0
netbox/netbox/settings.py

@@ -712,6 +712,10 @@ RQ_QUEUES.update({
 # Localization
 #
 
+LOCALE_PATHS = (
+    BASE_DIR + '/translations',
+)
+
 if not ENABLE_LOCALIZATION:
     USE_I18N = False
     USE_L10N = False