Fixed #26450 -- Corrected "Save as new" button label in docs.

This commit is contained in:
Markus Amalthea Magnuson 2016-04-03 13:03:44 +02:00 committed by Tim Graham
parent 21dd98a386
commit 23aa700b78
1 changed files with 4 additions and 6 deletions

View File

@ -1137,14 +1137,12 @@ subclass::
.. attribute:: ModelAdmin.save_as
Set ``save_as`` to enable a "save as" feature on admin change forms.
Set ``save_as`` to enable a "save as new" feature on admin change forms.
Normally, objects have three save options: "Save", "Save and continue
editing" and "Save and add another". If ``save_as`` is ``True``, "Save
and add another" will be replaced by a "Save as" button.
"Save as" means the object will be saved as a new object (with a new ID),
rather than the old object.
editing", and "Save and add another". If ``save_as`` is ``True``, "Save
and add another" will be replaced by a "Save as new" button that creates a
new object (with a new ID) rather than updating the existing object.
By default, ``save_as`` is set to ``False``.