#14847: dumpdata sends output to stderr, not stdout ------------------------------------+--------------------------------------- Reporter: anonymous | Owner: nobody Status: closed | Milestone: Component: Uncategorized | Version: 1.2 Resolution: worksforme | Keywords: datadump Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ------------------------------------+--------------------------------------- Changes (by ramiro):
* status: new => closed * needs_better_patch: => 0 * resolution: => worksforme * needs_tests: => 0 * needs_docs: => 0 Comment: Reviewing the code history for the dumpdata management command and the base command in general shows the output of the commands (the value returned from the handle method()) is sent explicitly to stdout. Additionally, just tested this with the same manage.py invocation used by the OP of the SO discussion and Django 1.2.3. The JSON output is correctly sent to stdout. Perhaps there is any additional detail about the environment where these tests were made? -- Ticket URL: <http://code.djangoproject.com/ticket/14847#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-upda...@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.