django之model中的Field类型
2015-08-25 09:39
429 查看
根据官方文档整理
AutoField: 一般不会直接使用,没有声明主键时,django会自动加上 id = models.AuthField(primary_key = True)
BigIntegerField: 可以存储最大为64位的整数,默认的 form widget是 TextInput
AutoField: 一般不会直接使用,没有声明主键时,django会自动加上 id = models.AuthField(primary_key = True)
BigIntegerField: 可以存储最大为64位的整数,默认的 form widget是 TextInput
相关文章推荐
- light oj 1057 Collecting Gold(状态压缩dp)
- django orm基本使用策略
- leetcode: (263) Ugly Number
- [Golang] 从零开始写Socket Server(4):将运行参数放入配置文件(XML/YAML)
- mongoose模块自动生成_id
- Google Earth谷歌地球卫片下载器--可下载全球历史卫星,无偏移、高精度
- [c] poj1003 hangover
- wordpress第一天
- leetcode: (171) Excel Sheet Column Number
- Set a static file on django
- 服务程序中侦测用户logon和logoff消息
- Go web之旅(路由篇)
- Google Alphabet
- Dragon Balls 3635 (并查集求深度) 好题
- Round A APAC Test 2016 Problem A. Googol String
- STL - vector algorithm
- google hosts google翻译ip
- 杭电3635-Dragon Balls-并查集之路径压缩
- django RESTful研究一环境搭建和理解RESTful
- UVA 11971 Polygon 多边形(连续概率)