Fix JSONField import (#1021)

This commit is contained in:
Jonathan Kim 2020-08-12 07:03:23 +01:00 committed by GitHub
parent 67a0492c12
commit bd553be10e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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