#29969: Admin inline with view permission is shown when save_as validation fails
-------------------------------------+-------------------------------------
Reporter: Matija Kolarić | Owner: Jakob
| Friedrich
Type: Bug | Status: assigned
Component: contrib.admin | Version: 2.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jakob Friedrich):
Opened PR: https://github.com/django/django/pull/20811
Approach: preserve save-as-new source object and use it for view-only
inline formset rerender; kept _create_formsets() API unchanged.
Added regression tests for validation error rerender, successful save-as-
new, and deleted source object case.
--
Ticket URL: <https://code.djangoproject.com/ticket/29969#comment:13>
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 view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019cab296097-ef1d1b73-1e65-4b74-982d-20552e021f0b-000000%40eu-central-1.amazonses.com.