#16027: Include app_label in ContentType.__str__()
-------------------------------------+-------------------------------------
     Reporter:  Jakub Roztočil       |                    Owner:
         Type:                       |  djangsters
  Cleanup/optimization               |                   Status:  assigned
    Component:                       |                  Version:  master
  contrib.contenttypes               |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  1                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Old description:

> When there are multiple models with same name in your project and you use
> the amazing content types framework, then selects for foreign keys to
> ContentType contain indistinguishable items. To fix this, the app_label
> needs to be included in ContentType's __unicode__.

New description:

 When there are multiple models with same name in your project and you use
 the amazing content types framework, then selects for foreign keys to
 ContentType contain indistinguishable items. To fix this, the app_label
 needs to be included in `ContentType.__str__()`.

--

Comment (by Tim Graham):

 #30051 is a duplicate.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16027#comment:20>
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.8b39a2ade91806279006e73e99be4bb6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to