{{{
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.
--
Ticket URL: <https://code.djangoproject.com/ticket/26450>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => assigned
* needs_docs: => 0
* owner: nobody => giuliettamasina
* needs_tests: => 0
* needs_better_patch: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/26450#comment:1>
* has_patch: 0 => 1
Comment:
Pull request is here: https://github.com/django/django/pull/6396
--
Ticket URL: <https://code.djangoproject.com/ticket/26450#comment:2>
* stage: Unreviewed => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/26450#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"23aa700b788e073e6efc4585425c0bd6d3092569" 23aa700]:
{{{
#!CommitTicketReference repository=""
revision="23aa700b788e073e6efc4585425c0bd6d3092569"
Fixed #26450 -- Corrected "Save as new" button label in docs.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26450#comment:4>
Comment (by Tim Graham <timograham@…>):
In [changeset:"dd1ab1499077dcf176b01ae466c262d63fe1d34e" dd1ab149]:
{{{
#!CommitTicketReference repository=""
revision="dd1ab1499077dcf176b01ae466c262d63fe1d34e"
[1.9.x] Fixed #26450 -- Corrected "Save as new" button label in docs.
Backport of 23aa700b788e073e6efc4585425c0bd6d3092569 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26450#comment:5>