We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd58b7b commit 60f9308Copy full SHA for 60f9308
django_restql/mixins.py
@@ -1,7 +1,7 @@
1
-from django.db.models import Prefetch, Model
+from django.db.models import Prefetch
2
from django.core.exceptions import ObjectDoesNotExist
3
from django.db.models.fields.related import ManyToManyRel, ManyToOneRel
4
-from django.contrib.contenttypes.fields import GenericRel, GenericRelation
+from django.contrib.contenttypes.fields import GenericRel
5
from django.contrib.contenttypes.models import ContentType
6
from django.http import QueryDict
7
from django.utils.functional import cached_property
0 commit comments