Commit 23aa700b authored by Markus Amalthea Magnuson's avatar Markus Amalthea Magnuson Committed by Tim Graham
Browse files

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

parent 21dd98a3
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -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``.