Fix JSONField import

This commit is contained in:
Jonathan Kim 2020-08-12 06:59:00 +01:00
parent 67a0492c12
commit 50b2550ce5

View File

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