#9952: to_python being called with unicode text breaks Unpickler ---------------------------------------------------+------------------------ Reporter: mark0978 | Owner: nobody Status: closed | Milestone: Component: Database layer (models, ORM) | Version: 1.0 Resolution: wontfix | Keywords: CustomFields Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------------------------+------------------------ Changes (by jacob):
* status: new => closed * needs_better_patch: => 0 * resolution: => wontfix * needs_tests: => 0 * needs_docs: => 0 Comment: I suspect this is because you're putting pickle data into a `TextField` or `CharField`, which expects text, not binary. If you're storing pickled data, you'll want to write a custom field (http://docs.djangoproject.com/en/dev/howto/custom-model-fields/). If you're not using a `TextField`/`CharField`, please feel free to reopen. -- Ticket URL: <http://code.djangoproject.com/ticket/9952#comment:1> 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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---