def form_invalid(self, form): add_error_messages(request=self.request, forms=[ form, ], base_msg=VIEW_MSG['client']['new_error']) return super().form_invalid(form)
def form_invalid(self, form): add_error_messages(request=self.request, forms=[ form, ], base_msg=VIEW_MSG['user']['password_change_fail']) return super().form_invalid(form)
def form_invalid(self, form): add_error_messages(request=self.request, forms=[ form, ], base_msg=VIEW_MSG['order']['update_error']) return super().form_invalid(form)
def form_invalid(self, multiform): add_error_messages(request=self.request, forms=[form for form in multiform.values()], base_msg=VIEW_MSG['product']['new_error']) return super().form_invalid(multiform)
def form_invalid(self, form): add_error_messages(request=self.request, forms=[form, ], base_msg=VIEW_MSG['specification']['issue_error']) return super().form_invalid(form)
def form_invalid(self, multiform): add_error_messages( request=self.request, forms=[multiform['form'], [form for form in multiform['formset']]], base_msg=VIEW_MSG['measurement_report']['update_error']) return super().form_invalid(multiform['form'])