#14417: UnicodeDecodeError exception in recent actions
----------------------------------+-----------------------------------------
 Reporter:  ctetruite             |       Owner:  nobody    
   Status:  new                   |   Milestone:            
Component:  django.contrib.admin  |     Version:  1.2       
 Keywords:  unicode               |       Stage:  Unreviewed
Has_patch:  1                     |  
----------------------------------+-----------------------------------------
 Here is my situation.

 I have a model with this verbose_name in meta data : u"Matériel
 d'occasion". The thing is this is a non ascii string. I do some stuff on
 an object of this model. Then, when I go the the admin page, I get this
 server error :
 {{{
 Caught UnicodeDecodeError while rendering: ('ascii', "Mat\xc3\xa9riel
 d'occasion", 3, 4, 'ordinal not in range(128)')
 }}}

 It occurs in the template
 ''django/contrib/admin/templates/admin/index.html'' at line 70 :
 {{{
 <span class="mini quiet">{% filter capfirst %}{% trans
 entry.content_type.name %}{% endfilter %}</span>
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14417>
Django <http://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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to