[1.8.x] Fixed #26375 -- Used a more generic name in a reusable template example.
Backport of 1d0abeaf75
from master
This commit is contained in:
parent
5d931314e3
commit
56f5059239
docs/ref/class-based-views
|
@ -132,7 +132,7 @@ CreateView
|
|||
|
||||
<form action="" method="post">{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<input type="submit" value="Create" />
|
||||
<input type="submit" value="Save" />
|
||||
</form>
|
||||
|
||||
UpdateView
|
||||
|
|
Loading…
Reference in New Issue