#6016: Admin crash when deleting an object
-----------------------------+----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: new | Component: Admin interface
Version: SVN | Keywords: unicode delete
Stage: Unreviewed | Has_patch: 0
-----------------------------+----------------------------------------------
I get this error:
DjangoUnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
0: ordinal not in range(128). You passed in
DjangoUnicodeDecodeError('ascii', '\xc2\xbfProbando una pregunta? -> ', 0,
1, 'ordinal not in range(128)') (<class
'django.utils.encoding.DjangoUnicodeDecodeError'>)
when I try to delete an object from the admin zone. The character ¿ breaks
it.
More info. Model:
class Encuesta( models.Model ):
...
pregunta = models.CharField( max_length=255 )
def __unicode__( self ):
return self.pregunta
...
Thanks
--
Ticket URL: <http://code.djangoproject.com/ticket/6016>
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
-~----------~----~----~----~------~----~------~--~---