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

Closes #10697: Move application registry into core app

This commit is contained in:
jeremystretch
2022-11-02 15:18:07 -04:00
parent 816fedb78d
commit 81c0dce5a3
19 changed files with 18 additions and 17 deletions

View File

@ -2,7 +2,7 @@ from django import template
from django.urls import reverse
from django.utils.module_loading import import_string
from extras.registry import registry
from netbox.registry import registry
register = template.Library()

View File

@ -2,7 +2,7 @@ from django.urls import path
from django.utils.module_loading import import_string
from django.views.generic import View
from extras.registry import registry
from netbox.registry import registry
def get_model_urls(app_label, model_name):

View File

@ -3,7 +3,7 @@ from django.core.exceptions import ImproperlyConfigured
from django.urls import reverse
from django.urls.exceptions import NoReverseMatch
from extras.registry import registry
from netbox.registry import registry
from .permissions import resolve_permission
__all__ = (