#26450 closed Bug (fixed)
Docs says label is "Save as" for the button that actually has the label "Save as new"
Reported by: | Markus Amalthea Magnuson | Owned by: | Markus Amalthea Magnuson |
---|---|---|---|
Component: | Documentation | Version: | 1.9 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The documentation for the save_as
option on ModelAdmin says the button is labeled "Save as" while in fact it is labeled "Save as new":
If save_as is True, “Save and add another” will be replaced by a “Save as” button.
https://docs.djangoproject.com/en/1.9/ref/contrib/admin/#django.contrib.admin.ModelAdmin.save_as
I guess this changed at some point and the docs were not updated at the same time (can't find a ticket for that change at the moment.)
The docs should be updated to reflect the correct button label in at least 1.9. I will open a pull request for this.
Change History (5)
comment:1 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 9 years ago
Has patch: | set |
---|
comment:3 by , 9 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
Pull request is here: https://github.com/django/django/pull/6396