I am trying to use django-social-auth in one of my project. However migrate command ends with this error:
class JSONField(six.with_metaclass(models.SubfieldBase, models.TextField)):
AttributeError: 'module' object has no attribute 'SubfieldBase'
What could be the solution?
django-social-auth is a DEPRECATED variant now, the link describes as,
Use python-social-auth, there is a section on how to integrate
python-social-auth
withdjango-social-auth
, it is recommended if you want to use the code in production.