#22828: Model admins should return copies of its attributes
-------------------------------+--------------------------------------
     Reporter:  vzima          |                    Owner:  ericpauley
         Type:  Bug            |                   Status:  assigned
    Component:  contrib.admin  |                  Version:  master
     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
-------------------------------+--------------------------------------
Changes (by timo):

 * cc: timo (added)
 * stage:  Unreviewed => Accepted


Comment:

 I guess this hasn't come up before because I think most apps probably
 don't define both the attribute and the method versions, but I can see it
 could be useful.

 I am not sure if the overhead of copying the attribute all the time is
 worth it (since it probably doesn't matter for most users), but if not, we
 should at least document the caveat.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22828#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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.76cf6c754196734f2a7090646db25a45%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to