mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-04 06:38:16 -06:00
Misc cleanup
This commit is contained in:
parent
cb80d80665
commit
6ca4e51d6b
@ -8,7 +8,6 @@ from django.utils.module_loading import import_string, module_has_submodule
|
|||||||
|
|
||||||
from . import views
|
from . import views
|
||||||
|
|
||||||
# Initialize URL base, API, and admin URL patterns for plugins
|
|
||||||
plugin_patterns = []
|
plugin_patterns = []
|
||||||
plugin_api_patterns = [
|
plugin_api_patterns = [
|
||||||
path('', views.PluginsAPIRootView.as_view(), name='api-root'),
|
path('', views.PluginsAPIRootView.as_view(), name='api-root'),
|
||||||
|
@ -545,7 +545,6 @@ EXEMPT_EXCLUDE_MODELS = (
|
|||||||
|
|
||||||
# All URLs starting with a string listed here are exempt from maintenance mode enforcement
|
# All URLs starting with a string listed here are exempt from maintenance mode enforcement
|
||||||
MAINTENANCE_EXEMPT_PATHS = (
|
MAINTENANCE_EXEMPT_PATHS = (
|
||||||
f'/{BASE_PATH}admin/',
|
|
||||||
f'/{BASE_PATH}extras/config-revisions/', # Allow modifying the configuration
|
f'/{BASE_PATH}extras/config-revisions/', # Allow modifying the configuration
|
||||||
LOGIN_URL,
|
LOGIN_URL,
|
||||||
LOGIN_REDIRECT_URL,
|
LOGIN_REDIRECT_URL,
|
||||||
|
Loading…
Reference in New Issue
Block a user