часто такие вопросы решаются тем что исследуются классы которые ты наследуешь
def form_valid(self, form): """If the form is valid, redirect to the supplied URL.""" return HttpResponseRedirect(self.get_success_url()) def form_invalid(self, form): """If the form is invalid, render the invalid form.""" return self.render_to_response(self.get_context_data(form=form)) методы такие есть, в FormMixin (он наследуется через BaseFormView) https://github.com/django/django/blob/f83b44075dafa429d59e8755aa47e15577cc49f9/django/views/generic/edit.py#L10
В коде вижу эти методы только в post запросе, но не update, почему-то
Обсуждают сегодня