#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:  closed                 |     Milestone:      
         Component:  django.contrib.admin   |       Version:  1.0 
        Resolution:  fixed                  |      Keywords:      
             Stage:  Accepted               |     Has_patch:  0   
        Needs_docs:  0                      |   Needs_tests:  0   
Needs_better_patch:  0                      |  
--------------------------------------------+-------------------------------
Comment (by kmtracey):

 It's actually Visit's `__unicode__` method that is the problem in this
 specific case.  It needs to be:

 {{{
 #!python
    def __unicode__(self):
         return u"%s @ %s" % (self.visitor,self.visitDate.isoformat())
 }}}

 (Not that fixing Visitor's as well isn't a good idea, it just won't fix
 the exception mentioned.)

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