From 6021526ea3d750bc3fb278bf3b776462ce106ed5 Mon Sep 17 00:00:00 2001 From: Peter Eckel Date: Mon, 28 Oct 2024 18:25:59 +0100 Subject: [PATCH] Removed unnecessary imports --- netbox_dns/models/nameserver.py | 2 -- netbox_dns/models/record.py | 5 ----- 2 files changed, 7 deletions(-) diff --git a/netbox_dns/models/nameserver.py b/netbox_dns/models/nameserver.py index d760169e..13c0248b 100644 --- a/netbox_dns/models/nameserver.py +++ b/netbox_dns/models/nameserver.py @@ -19,8 +19,6 @@ from netbox_dns.validators import validate_fqdn from netbox_dns.mixins import ObjectModificationMixin -from .record import Record - __all__ = ( "NameServer", diff --git a/netbox_dns/models/record.py b/netbox_dns/models/record.py index 504429db..aa93d693 100644 --- a/netbox_dns/models/record.py +++ b/netbox_dns/models/record.py @@ -23,11 +23,6 @@ from netbox_dns.mixins import ObjectModificationMixin from netbox_dns.choices import RecordTypeChoices, RecordStatusChoices -# + -# This is a hack designed to break cyclic imports between Record and Zone -# - -from netbox_dns.models import zone - __all__ = ( "Record",