From 42ab8ee0a26b072e8920b1599be2998aa9831931 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Fri, 1 Dec 2023 11:50:48 -0500 Subject: [PATCH] #14153: Import proxy ContentType for nbshell --- netbox/core/management/commands/nbshell.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netbox/core/management/commands/nbshell.py b/netbox/core/management/commands/nbshell.py index fd86627d2..eeefe502b 100644 --- a/netbox/core/management/commands/nbshell.py +++ b/netbox/core/management/commands/nbshell.py @@ -6,9 +6,10 @@ from django import get_version from django.apps import apps from django.conf import settings from django.contrib.auth import get_user_model -from django.contrib.contenttypes.models import ContentType from django.core.management.base import BaseCommand +from core.models import ContentType + APPS = ('circuits', 'core', 'dcim', 'extras', 'ipam', 'tenancy', 'users', 'virtualization', 'vpn', 'wireless') BANNER_TEXT = """### NetBox interactive shell ({node})