会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Loading
yyyz
新随笔
管理
2021年10月26日
模型层Meta详解
摘要: 模型层Meta详解 在创建表时,我们可以添加Meta类,按照官方文档的解释,它是“anything that’s not a field”(除了字段的一切属性),用来配置一张表的其他参数。 1 Meta的使用 from django.db import models class Ox(models.
阅读全文
posted @ 2021-10-26 09:25 yyyz
阅读(165)
评论(0)
推荐(0)
编辑
公告