#11715: If change mutable list "inlines" in one admin options then it will
change
"inlines" for all admin options.
-------------------------------------+-------------------------------------
Reporter: Alexander Ivanov | Owner: Jacob
Type: | Walls
Cleanup/optimization | Status: closed
Component: contrib.admin | Version: 1.1
Severity: Normal | Resolution: fixed
Keywords: inlines admin | Triage Stage: Ready for
options | 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:"dc9deea8e85641695e489e43ed5d5638134c15c7" dc9deea8]:
{{{
#!CommitTicketReference repository=""
revision="dc9deea8e85641695e489e43ed5d5638134c15c7"
Fixed #11715 -- Changed default value of ModelAdmin.actions/inlines to
empty tuples.
This clarifies the intended pattern of overwriting the default value
rather than mutating it.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/11715#comment:8>
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/061.06994823c8265df5cfdc66156d48167c%40djangoproject.com.