Sander Steffann 6 лет назад
Родитель
Сommit
378883df2b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      netbox/netbox/settings.py

+ 1 - 1
netbox/netbox/settings.py

@@ -124,7 +124,7 @@ DATABASES = {
 #
 #
 
 
 if MEDIA_STORAGE:
 if MEDIA_STORAGE:
-    if not 'BACKEND' in MEDIA_STORAGE:
+    if 'BACKEND' not in MEDIA_STORAGE:
         raise ImproperlyConfigured(
         raise ImproperlyConfigured(
             "Required parameter BACKEND is missing from MEDIA_STORAGE in configuration.py."
             "Required parameter BACKEND is missing from MEDIA_STORAGE in configuration.py."
         )
         )