Passing a sequence of the same form? - Django
the user needs to provide a list of field/values through a form
class FieldForm(forms.Form):
field_name = forms.CharField()
field_value = forms.CharField()
The problem is how do I ge开发者_如何学Ct a user to pass multiple of these with one submit?
Also as a side question... any tips on implementing editing too?
Any ideas? It would be really great to get your feedback! :)
Sounds like formsets are what you are after.
精彩评论