#19115: dumpdata should take option to output to named file
-------------------------------------+-------------------------------------
     Reporter:  murftone@…           |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |                  Version:  master
    Component:  Documentation        |               Resolution:  fixed
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:  dumpdata management  |      Needs documentation:  0
  command                            |  Patch needs improvement:  1
    Has patch:  1                    |                    UI/UX:  0
  Needs tests:  0                    |
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by bmispelon):

 Replying to [comment:11 maa@…]:
 > how do we use this ?
 > ./manage dumpdata --stdout=file.json ?

 This ticket tracker is not the best place to ask questions like this. You
 should use our support channels instead [1].

 As for your question, since the command outputs its result, you can use
 your shell's output redirection feature:
 {{{
 ./manage dumpdata > the_name_of_the_file.json
 }}}

 [1]
 https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19115#comment:12>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.bbdb034221a31c888b278d78ccd3d549%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to