I run my app django in pycharmn when I execute
python manage.py syncdb
I get
@with_metaclass(models.SubfieldBase, skip_attrs=set([
AttributeError: module 'django.db.models' has no attribute 'SubfieldBase'
I run my app django in pycharmn when I execute
python manage.py syncdb
I get
@with_metaclass(models.SubfieldBase, skip_attrs=set([
AttributeError: module 'django.db.models' has no attribute 'SubfieldBase'
SubfieldBase has been deprecated since django 1.10. django.db.models.fields.subclassing.SubfieldBase
has been deprecated and will be removed in Django 1.10.. It has been replaced with from_db_value().