mirror of
https://github.com/django/django.git
synced 2025-07-20 09:39:13 +00:00
[3.0.x] Removed leftover word in CBV mixins docs.
Backport of d83b585e5cc2b6dec49982670b86d6b4dd339342 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…
x
Reference in New Issue
Block a user