mirror of
https://github.com/django/django.git
synced 2025-07-19 17:19:12 +00:00
[1.9.x] Fixed #26450 -- Corrected "Save as new" button label in docs.
Backport of 23aa700b788e073e6efc4585425c0bd6d3092569 from master
This commit is contained in:
parent
3ed8233759
commit
dd1ab14990
@ -1139,14 +1139,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``.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user