Skip to content

Commit 42ab8ee

Browse files
committed
#14153: Import proxy ContentType for nbshell
1 parent bf18215 commit 42ab8ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

netbox/core/management/commands/nbshell.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
from django.apps import apps
77
from django.conf import settings
88
from django.contrib.auth import get_user_model
9-
from django.contrib.contenttypes.models import ContentType
109
from django.core.management.base import BaseCommand
1110

11+
from core.models import ContentType
12+
1213
APPS = ('circuits', 'core', 'dcim', 'extras', 'ipam', 'tenancy', 'users', 'virtualization', 'vpn', 'wireless')
1314

1415
BANNER_TEXT = """### NetBox interactive shell ({node})

0 commit comments

Comments
 (0)