Open sww314 opened 8 years ago
So this is actually because of bug in the way that Django versions are detected:
if django.get_version() >= "1.7":
from django.utils.module_loading import import_string
else:
from django.utils.module_loading import import_by_path as import_string
This fails for Django >= 1.10 because of the lexical compare.
And there is further problem with models.SubfieldBase
which is removed in 1.10:
class JsonField(six.with_metaclass(models.SubfieldBase, models.Field)):
AttributeError: 'module' object has no attribute 'SubfieldBase'
In Django 1.10+ import_by_path is removed.