Encore plus de doc
This commit is contained in:
parent
a6c9cf11bd
commit
efbb9c2be3
1 changed files with 5 additions and 0 deletions
|
@ -97,6 +97,11 @@ class MultipleFormMixin(ContextMixin):
|
|||
|
||||
|
||||
class ProcessMultipleFormView(View):
|
||||
""" Équivalent de `ProcessFormView` pour plusieurs forms.
|
||||
Note : il faut que *tous* les formulaires soient valides pour
|
||||
qu'ils soient sauvegardés !
|
||||
"""
|
||||
|
||||
def get(self, request, *args, **kwargs):
|
||||
forms = self.get_forms()
|
||||
return self.render_to_response(self.get_context_data(forms=forms))
|
||||
|
|
Loading…
Reference in a new issue