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']
|
||||
return super().form_valid(form)
|
||||
|
||||
``get_success_url()`` is provides somewhere to redirect to,
|
||||
which gets used in the default implementation of
|
||||
``form_valid()``. We have to provide our own ``post()`` as noted earlier.
|
||||
``get_success_url()`` provides somewhere to redirect to, which gets used
|
||||
in the default implementation of ``form_valid()``. We have to provide our
|
||||
own ``post()`` as noted earlier.
|
||||
|
||||
A better solution
|
||||
-----------------
|
||||
|
|
Loading…
Reference in New Issue