mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-22 01:27:01 +03:00
Fix JSONField import (#1021)
This commit is contained in:
parent
67a0492c12
commit
bd553be10e
|
@ -16,6 +16,6 @@ except ImportError:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# JSONField is only available from Django 3.1
|
# JSONField is only available from Django 3.1
|
||||||
from django.contrib.fields import JSONField
|
from django.db.models import JSONField
|
||||||
except ImportError:
|
except ImportError:
|
||||||
JSONField = MissingType
|
JSONField = MissingType
|
||||||
|
|
Loading…
Reference in New Issue
Block a user