mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-27 17:54:08 +03:00
Resolve generic fields import
This commit is contained in:
parent
48540f180a
commit
f691006f2c
|
@ -1,6 +1,6 @@
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
from django.contrib.contenttypes.generic import (
|
from django.contrib.contenttypes.fields import (
|
||||||
GenericForeignKey, GenericRelation
|
GenericForeignKey, GenericRelation
|
||||||
)
|
)
|
||||||
from django.contrib.contenttypes.models import ContentType
|
from django.contrib.contenttypes.models import ContentType
|
||||||
|
|
Loading…
Reference in New Issue
Block a user