mirror of https://github.com/django/django.git
[3.0.x] Removed leftover word in CBV mixins docs.
Backport of d83b585e5c
from master
This commit is contained in:
parent
c8c0c0def7
commit
e8f126aae1
|
@ -474,9 +474,9 @@ Our new ``AuthorDetail`` looks like this::
|
||||||
# passed in form.cleaned_data['message']
|
# passed in form.cleaned_data['message']
|
||||||
return super().form_valid(form)
|
return super().form_valid(form)
|
||||||
|
|
||||||
``get_success_url()`` is provides somewhere to redirect to,
|
``get_success_url()`` provides somewhere to redirect to, which gets used
|
||||||
which gets used in the default implementation of
|
in the default implementation of ``form_valid()``. We have to provide our
|
||||||
``form_valid()``. We have to provide our own ``post()`` as noted earlier.
|
own ``post()`` as noted earlier.
|
||||||
|
|
||||||
A better solution
|
A better solution
|
||||||
-----------------
|
-----------------
|
||||||
|
|
Loading…
Reference in New Issue