mirror of https://github.com/django/django.git
Fixed #26450 -- Corrected "Save as new" button label in docs.
This commit is contained in:
parent
21dd98a386
commit
23aa700b78
|
@ -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``.
|
||||
|
||||
|
|
Loading…
Reference in New Issue