#3924: Caught an exception while rendering: 'ascii' codec can't decode byte 0xc3
in position 8: ordinal not in range(128)
-------------------------------------+--------------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  hugo           
     Status:  reopened               |            Component:  Template system
    Version:  SVN                    |           Resolution:                 
   Keywords:                         |                Stage:  Accepted       
  Has_patch:  0                      |           Needs_docs:  0              
Needs_tests:  0                      |   Needs_better_patch:  0              
-------------------------------------+--------------------------------------
Changes (by [EMAIL PROTECTED]):

 * cc: [EMAIL PROTECTED] (added)

Comment:

 I can confirm there is an unicode related error on rendering the
 !ForeignKey drop down list in the administration application, as I can
 reproduce it each time, just add some 'à,é, etc' to one of the field
 returned by the __str__ method of the foreign key.
 
 Adding a "unicode(yourstring, errors="ignore") to the __str__ output gave
 me a quick&dirty solution, but it removes all the ofending characters.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3924#comment:19>
Django Code <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 [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