#5423: "dumpdata" should stream output one row at a time --------------------------------------+------------------------------------- Reporter: adrian | Owner: nobody Status: new | Milestone: Component: django-admin.py | Version: SVN Resolution: | Keywords: dumpdata loaddata fixtures memory Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | --------------------------------------+------------------------------------- Comment (by phaesler):
The problem is not in dumpdata, it's in the Django Serialisation code. The core.serializers.python.Serializer doesn't start writing to the output stream until all objects to be serialised have been read into memory. The attached patches won't work until the above is addressed. -- Ticket URL: <http://code.djangoproject.com/ticket/5423#comment:19> 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 -~----------~----~----~----~------~----~------~--~---