#20777: admin delete page proxy models
---------------------------------+------------------------
     Reporter:  CollinAnderson   |      Owner:  nobody
         Type:  Bug              |     Status:  new
    Component:  contrib.admin    |    Version:  1.6-beta-1
     Severity:  Release blocker  |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  0
Easy pickings:  0                |      UI/UX:  0
---------------------------------+------------------------
 This #18491 broke proxy model `__unicode__()` on the admin delete page:
 
https://github.com/django/django/commit/2b48fcc607010065c0f8107baf669dd41b164f3c

 The concrete model is being instantiated with no attributes except the
 primary key. This breaks `obj.__unicode__()` because it can't reference
 any of its fields. (It also means that we're displaying
 `BaseModel.__unicode__()` instead of `ProxyModel.__unicode__()`, which
 isn't a problem for me.)

 I have a simple project you can use to try it yourself:
 https://github.com/collinanderson/proxyadmin

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20777>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/057.d7027e530952233140f3cb2efa45c36d%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to