Model class properties named reality:
1) You can not use the reserved keywords python.
2) does not allow the use of a continuous underscore, this is django ways to search decisions.
3) the definition of attribute fields specify the type, field types specified by the option parameter syntax is as follows:
Property name = models. Field type (option)
Field Type:
Use a package need to reference django.db.models
Reference documents: https://www.cnblogs.com/linxiyue/p/3662887.html
http://www.imooc.com/article/37933
https://my.oschina.net/liuyuantao/blog/751343