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