#26375 closed Cleanup/optimization (fixed)
Docs: since author_form.html gets used by CreateView and UpdateView, the button should be be called "Create"
Reported by: | Thomas Güttler | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.9 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
https://docs.djangoproject.com/en/1.9/ref/class-based-views/generic-editing/#createview
The author_form.html snippet from above url:
<form action="" method="post">{% csrf_token %} {{ form.as_p }} <input type="submit" value="Create" /> </form>
From this page https://docs.djangoproject.com/en/1.9/topics/class-based-views/generic-editing/:
CreateView and UpdateView use myapp/author_form.html
Conclusion: the button should not be called "Create". Maybe "Save" would fit better.
Note:
See TracTickets
for help on using tickets.
In 1d0abea: