1.创建列
alter table tablename add colname type not null default '0';
例:
alter tab ...
作者是 Web开发.
发布于 in最后更新于 .
1.创建列
alter table tablename add colname type not null default '0';
例:
alter tab ...
作者是 Web开发.
发布于 in最后更新于 .
最近对django真是大爱呀,哈哈。公司有个需求是为一些素材动态生成属性字段,所以需要django来动态生成表单。
一开始的写法如下:
class AddObjForm(for ...