#33111: Conditionally changing ModelAdmin inlines based on object's field breaks
when changing object and new inlines should appear.
-------------------------------------+-------------------------------------
Reporter: joeli | Owner: Hasan
| Ramezani
Type: Bug | Status: closed
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"2f0f30f973363a59c20f204f9351724fb2ce7327" 2f0f30f]:
{{{
#!CommitTicketReference repository=""
revision="2f0f30f973363a59c20f204f9351724fb2ce7327"
Fixed #33111 -- Fixed passing object to ModelAdmin.get_inlines() when
editing in admin change view.
ModelAdmin.get_inlines() should get an unmutated object when creating
formsets during POST request.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33111#comment:5>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/064.4b26998ab41d8a3415b1dbac995d1f94%40djangoproject.com.