From 76df4f35c2d732f7996aa6b8d816424c52ee0cc1 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Mon, 27 Aug 2018 17:52:33 -0700 Subject: [PATCH] Corrected ModelFormMixin.form_invalid() signature in docs. --- docs/ref/class-based-views/mixins-editing.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/class-based-views/mixins-editing.txt b/docs/ref/class-based-views/mixins-editing.txt index bd7611841e..9cde8b9834 100644 --- a/docs/ref/class-based-views/mixins-editing.txt +++ b/docs/ref/class-based-views/mixins-editing.txt @@ -173,7 +173,7 @@ The following mixins are used to construct Django's editing views: redirects to :meth:`~django.views.generic.edit.FormMixin.get_success_url`. - .. method:: form_invalid() + .. method:: form_invalid(form) Renders a response, providing the invalid form as context.