会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
ccorz
大音希声,小逼无形
博客园
首页
新随笔
联系
订阅
管理
2017年2月20日
获取Django model中字段名,字段的verbose_name,字段类型
摘要: 如下app:ywreport下存在model:Game:```pythonclass Game(models.Model): name = models.CharField(u'游戏名称',max_length=30) gameid = models.CharField(u'游戏id',max_length=20) def __unicode__(self): re...
阅读全文
posted @ 2017-02-20 09:25 ccorz
阅读(9870)
评论(2)
推荐(0)
编辑
公告