mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
cleanup unused imports and extra line
This commit is contained in:
parent
83ca0ef955
commit
5c88317745
@ -1,5 +1,4 @@
|
||||
from django.contrib.contenttypes.prefetch import GenericPrefetch
|
||||
from django.db.models import Prefetch
|
||||
from django.http import Http404, HttpResponse
|
||||
from django.shortcuts import get_object_or_404
|
||||
from drf_spectacular.types import OpenApiTypes
|
||||
|
@ -1,5 +1,4 @@
|
||||
import itertools
|
||||
from collections import defaultdict
|
||||
|
||||
from django.contrib.contenttypes.fields import GenericForeignKey
|
||||
from django.core.exceptions import ValidationError
|
||||
|
@ -140,4 +140,3 @@ class GenericArrayForeignKey(FieldCacheMixin, Field):
|
||||
data.append(rel_objects)
|
||||
self.set_cached_value(instance, data)
|
||||
return data
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user