#16027: Include app_label in ContentType.__unicode__
-------------------------------------+-------------------------------------
     Reporter:  jakub                |                    Owner:  Fandekasp
         Type:                       |                   Status:  new
  Cleanup/optimization               |                  Version:  1.3
    Component:                       |               Resolution:
  contrib.contenttypes               |             Triage Stage:  Accepted
     Severity:  Normal               |      Needs documentation:  0
     Keywords:                       |  Patch needs improvement:  1
    Has patch:  1                    |                    UI/UX:  0
  Needs tests:  1                    |
Easy pickings:  1                    |
-------------------------------------+-------------------------------------

Comment (by Fandekasp):

 @julien, changing the unicode representation defeat the purpose of #16803
 if we're going to do what you suggest, which is to return
 'app_name.model'. The name wouldn't be printed anymore, therefore we
 wouldn't need to translate it anymore.

 But you're right in that Contenttype is mostly useful to developers, when
 a translatable name representation makes sense on interfaces such as
 django admin

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16027#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to