#22828: Model admins should return copies of its attributes
--------------------------------+------------------------------------
Reporter: Vlastimil Zíma | Owner: (none)
Type: Bug | Status: new
Component: contrib.admin | Version: dev
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 Karol Alvarado):
If the solution is to add a section/warning in the ModelAdmin docs (maybe
somewhere on the top of
[https://docs.djangoproject.com/en/5.1/ref/contrib/admin/#modeladmin-
methods ModelAdmin methods section]) about that behaviour and then point
all of the affected getters to that warning, then I'd love to give it a
go.
I played with the issue described a bit, and although I have never
encountered it myself before, it does feel like something that has to be
noted because it's confusing.
--
Ticket URL: <https://code.djangoproject.com/ticket/22828#comment:9>
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/0107019216b9cef2-d380acf6-d544-4a2e-9899-61bb7c70f955-000000%40eu-central-1.amazonses.com.