Opened 17 years ago
Last modified 17 years ago
#6016 closed
Admin crash when deleting an object — at Version 1
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Keywords: | unicode delete | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
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
Change History (1)
comment:1 by , 17 years ago
Description: | modified (diff) |
---|---|
Triage Stage: | Unreviewed → Accepted |
Note:
See TracTickets
for help on using tickets.
fixed description formatting.