mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
[3.0.x] Removed leftover word in CBV mixins docs.
Backport of d83b585e5c
from master
This commit is contained in:
parent
c8c0c0def7
commit
e8f126aae1
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue