#6016: Admin crash when deleting an object
--------------------------------+-------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: raphael
Status: assigned | Component: Admin interface
Version: SVN | Resolution:
Keywords: unicode delete | Stage: Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
--------------------------------+-------------------------------------------
Comment (by raphael):
I can't reproduce it so far in admin.
The only way I found to get similar errors is to do sth like :
obj.pregunta = '\xc2\xbfProbando una pregunta? -> '
obj.save()
unicode(obj)
But aren't we supposed to do :
obj.pregunta = u'\xc2\xbfProbando una pregunta? -> ' # add u
or to get the same output :
obj.pregunta = u'\xbfProbando una pregunta? -> '
My poor knowledge in Django unicode internals don't allow me to go further
:(
--
Ticket URL: <http://code.djangoproject.com/ticket/6016#comment:3>
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
-~----------~----~----~----~------~----~------~--~---