花费 205ms 找到1355条记录
1 Django表单字段初始值验证失败 - Django Form field initial value on failed validation
2010年03月12 - how do I set the value of a field element after a form has been submitted but has failed validation? e.g. 如何在提交表单但验证失败后设置字段元素的值?例如 if form.is_valid()
2 如何包含指向子模型的formsets中引用的父模型的指针? - How to include pointers to the parent models referenced in formsets of child models?
2013年06月12 - I have a formset that relates to a model that uses multi-table model inheritance. I'm getting the following error when the form is submitted: 我有一个与使用多
3 django管理内联到许多自定义字段 - django admin inline many to many custom fields
2013年11月06 - Hi I am trying to customize my inlines in django admin. 你好,我在django admin中定制我的inline。 Here are my models: 这是我的模型: class Row(models.Model): name
4 ModelMultipleChoiceField'对象没有属性'to_field_name' - ModelMultipleChoiceField' object has no attribute 'to_field_name'
2015年09月15 - These are my files: 这些是我的文件: models.py: models.py: class Pierwszy(models.model): name = models.CharField(max_length=15,blank =True, null= True)
5 Django设计模式 - 用于创建和更新模型的表单 - Django design patterns - Forms for Create and Update a Model
2011年01月02 - Suppose I want to create and update a model. What fields are displayed and the type of validation depends on the action (create or update). But they s
6 如何将Django表单与Ajax集成? - How to integrate Django form with Ajax?
2017年08月18 - I've gone through many tutorials in how to integrate ajax with django form but all were complicated. I have a Signup model with Signup form and a view
7 Django内联外键与父主键不匹配 - Django inline foreign key does not match parent primary key
2012年07月09 - I need some help getting past a django error using inline forms. I can't seem to figure this out. I could probably force-insert the eventID if I could
8 Django评论:想要删除用户URL,而不是扩展模型。如何? - Django Comments: Want to remove user URL, not expand the model. How to?
2009年09月21 - I'm totally understanding the documentation on expanding the Comments app in Django, and really would like to stick with the automatic functionality b
9 Django Forms - 在视图中设置字段值 - Django Forms - set field values in view
2011年05月07 - I have a model which represents a work order. One of the fields is a DateField and represents the date the work order was created (aptly named: dateWO
10 使用django将数据保存到数据库 - save data to database using django
2013年03月12 - views.py views.py def addbook(request): if request.POST: book_form = BookForm(request.POST) author_form = AuthorForm(request.POST)

 
© 2014-2019 ITdaan.com 粤ICP备14056181号