摘要: What I would like to do is to display a single form that lets the user: Enter a document title (from Document model) Select one of their user_defined_ 阅读全文
posted @ 2018-11-26 22:46 floodwater 阅读(488) 评论(0) 推荐(0) 编辑
摘要: Similar to the regular formsets, Django also provides model formset that makes it easy to work with Django models. Django model formsets provide a way 阅读全文
posted @ 2018-11-26 15:01 floodwater 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Mac键盘符号和修饰键说明 ⌘ Command ⇧ Shift ⌥ Option ⌃ Control ↩︎ Return/Enter ⌫ Delete ⌦ 向前删除键(Fn+Delete) ↑ 上箭头 ↓ 下箭头 ← 左箭头 → 右箭头 ⇞ Page Up(Fn+↑) ⇟ Page Down(Fn+ 阅读全文
posted @ 2018-11-26 14:40 floodwater 阅读(5890) 评论(0) 推荐(0) 编辑
摘要: 一、内容回顾 Model - 数据库操作 - 验证 class A(MOdel): user = email = pwd = Form - class LoginForm(Form): email = fields.EmailField() user = pwd = - is_valid -> 每一 阅读全文
posted @ 2018-11-26 11:17 floodwater 阅读(1138) 评论(0) 推荐(0) 编辑