def form_valid(self, form): devis_resp = UpdateView.form_valid(self, form) devis_formset = DevisInlineFormset(self.request.POST, instance=self.object) if devis_formset.is_valid(): devis_formset.save() else: print devis_formset.errors return devis_resp
def form_valid(self,form): return UpdateView.form_valid(self,form)
def form_valid(self, form): retval_redir = self._form_valid_redirect(form) retval = UpdateView.form_valid(self, form) if retval_redir is not None: return retval_redir return retval
def form_valid(self, form): form.save() return UpdateView.form_valid(self, form)