#5590: JSON encoding fails on Promise (result of gettext_lazy)
------------------------------------+---------------------------------------
Reporter: jdunck | Owner: nobody
Status: new | Milestone:
Component: Serialization | Version: SVN
Resolution: | Keywords: unicode json
serialization i18n
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Comment (by jdunck):
It's the same root cause, but I'm fixing the problem in a different place.
#5868 showed using simplejson directly; I'm using the Django-provided JSON
serializer. We did have a real-world use case where (I think) a queryset
was passed to the JSON serializer and it failed with this error.
--
Ticket URL: <http://code.djangoproject.com/ticket/5590#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
-~----------~----~----~----~------~----~------~--~---