#9522: Python serializer doesn't use base Serializer.get_string_value
------------------------------------+---------------------------------------
Reporter: alexkoshelev | Owner: Pike
Status: assigned | Milestone: post-1.0
Component: Serialization | Version: 1.0
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by Pike):
* cc: Pike (added)
* owner: nobody => Pike
* status: new => assigned
Comment:
I'm getting hit by this, too.
I found that the DeSerialization calls into to_python [1], so I wonder if
the Serialization shouldn't just call into get_db_prep_save.
Or is it a safe assumption that feeding a string into to_python is always
going to succeed?
[1]
http://code.djangoproject.com/browser/django/trunk/django/core/serializers/python.py#L88
--
Ticket URL: <http://code.djangoproject.com/ticket/9522#comment:4>
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
-~----------~----~----~----~------~----~------~--~---