AttributeError: module 'django.db.models' has no attribute 'SubfieldBase' http://www.guanggua.com/question/35166085-How-to-deal-with-SubfieldBase-has-been-deprecated-Use-Fieldfrom_db_value-instead.html 说的很详细,后期会整理…
Models A model is the single, definitive source of information about your data. It contains the essential fields and behaviors of the data you're storing. Generally, each model maps to a single database table. The basics: Each model is a Python class…