English 中文(简体)
单页的多种形式
原标题:Multiple forms on one page

例如,如果在一页上有3个表格,那么我如何能够在我看来检查哪一种表格被贴出?

form1 = FormClass1
form2 = FormClass2
form3 = FormClass3
最佳回答

Alls of them will be placelessless below they place in separate form tags with separate submitting buttons.

问题回答

暂无回答




相关问题
how to insert a infomation on a table in Django

This is my form on models.py class ItemForm(forms.Form): itemname = forms.CharField(max_length=100) itemwording = forms.CharField(max_length=100) notes = forms.CharField() abundance =...

How can I use multiple queryset in a ModelChoiceField?

I m just beginning to learn Django and I would like to use different queryset in a ModelChoiceField. I have 3 models like that : class Politic(models.Model): name = models.CharField(max_length=...

Custom save method giving invalid tuple size error

I ve been stuck on this likely very simple problem, but haven t gotten anywhere with it (newbie to Python and Django). I m taking some user submitted data and using weights to calculate a score. ...

File does not upload from web form in Django

Howdy - I ve written a very simple app to accept job applications including a resume upload. Running the bundled server for development locally, I can successfully upload files via the web form on ...

Customize HTML Output of Django ModelForm

I am trying to add multiple inline form items to a page using Djangos ModelForms. I need Select boxes bound to database models. The forms are formatted and placed in a tabular format so I need to ...

热门标签