Преглед изворни кода

Fixes #13684: Enable modying the configuration when maintenance mode is enabled

Jeremy Stretch пре 2 година
родитељ
комит
9be5918c83
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      netbox/netbox/settings.py

+ 1 - 0
netbox/netbox/settings.py

@@ -496,6 +496,7 @@ AUTH_EXEMPT_PATHS = (
 # All URLs starting with a string listed here are exempt from maintenance mode enforcement
 MAINTENANCE_EXEMPT_PATHS = (
     f'/{BASE_PATH}admin/',
+    f'/{BASE_PATH}extras/config-revisions/',  # Allow modifying the configuration
 )
 
 SERIALIZATION_MODULES = {