Skip to content

Commit 0981431

Browse files
committed
37 fix ruff errors
1 parent e495ebf commit 0981431

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

netbox_custom_objects/field_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
from netbox.tables.columns import BooleanColumn
3232

3333
from netbox_custom_objects.constants import APP_LABEL
34-
from netbox_custom_objects.utilities import generate_model, get_schema_connection
34+
from netbox_custom_objects.utilities import generate_model
3535

3636

3737
class LazyForeignKey(ForeignKey):

netbox_custom_objects/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# from django.contrib.contenttypes.management import create_contenttypes
1313
from django.contrib.contenttypes.models import ContentType
1414
from django.core.validators import RegexValidator, ValidationError
15-
from django.db import connection, connections, IntegrityError, models, transaction
15+
from django.db import connection, IntegrityError, models, transaction
1616
from django.db.models import Q
1717
from django.db.models.functions import Lower
1818
from django.db.models.signals import pre_delete, post_save

0 commit comments

Comments
 (0)