#3435: Can't serialize to stream ----------------------------------+----------------------------------------- Reporter: [EMAIL PROTECTED] | Owner: jacob Status: new | Component: Uncategorized Version: SVN | Keywords: Stage: Unreviewed | Has_patch: 0 ----------------------------------+----------------------------------------- The stream argument to django.core.serializers.base.Serializer.serialize() does not work because serialize() calls self.stream.getvalue() to return the data; getvalue() is not part of the file protocol so this fails when stream is an HttpResponse, for example. Also when using the stream argument for JSON serialization there is a failure in django.utils.simplejson.encoder.JSONEncoder.__init__() because the stream keyword argument is not accepted.
-- Ticket URL: <http://code.djangoproject.com/ticket/3435> 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 -~----------~----~----~----~------~----~------~--~---
