#22828: Model admins should return copies of its attributes
-------------------------------------+-------------------------------------
Reporter: Vlastimil Zíma | Owner: Karol
| Alvarado
Type: Bug | Status: closed
Component: contrib.admin | Version: dev
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
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce <42296566+sarahboyce@…>):
In [changeset:"34989e076b639ee1c67cbabb426a35ceaaa83760" 34989e07]:
{{{#!CommitTicketReference repository=""
revision="34989e076b639ee1c67cbabb426a35ceaaa83760"
[5.1.x] Fixed #22828 -- Warned that ModelAdmin get hooks return the
property itself rather a copy.
Backport of b8e9cdf13b7ab6621926a5d2aad3e2bb745aae00 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22828#comment:16>
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/01070192bd8e6522-85fe1c9a-cc2a-4fb2-aedf-46bf8ea8d721-000000%40eu-central-1.amazonses.com.