#29376: admin adjustability improvement: Take into account
`show_save_and_add_another` context var
-------------------------------+--------------------------------------
Reporter: Mihas | Owner: nobody
Type: Uncategorized | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by Carlton Gibson):
The options for Save and Save and continue were originally added to ensure
correct behaviour when hitting Save New and getting a validation error.
See
[https://github.com/django/django/commit/0894643e40327e48397573b7844585618200442b
0894643e4]. They weren't really for direct usage...
... however, maybe it's reasonable. Tentatively Accept to see how the
patch turns out, and what others think.
This isn't really documented (like much around extending the admin). Not
sure where it would go if we were to add something.
--
Ticket URL: <https://code.djangoproject.com/ticket/29376#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.95ab37bcb0d230829fededd43cc1112e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.