1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Clean up the application registry

This commit is contained in:
jeremystretch
2023-02-19 13:58:01 -05:00
parent c84f0de8f8
commit c109daf1d8
6 changed files with 53 additions and 65 deletions

View File

@@ -14,13 +14,13 @@ from .registration import *
from .templates import *
# Initialize plugin registry
registry['plugins'] = {
registry['plugins'].update({
'graphql_schemas': [],
'menus': [],
'menu_items': {},
'preferences': {},
'template_extensions': collections.defaultdict(list),
}
})
DEFAULT_RESOURCE_PATHS = {
'search_indexes': 'search.indexes',