#11927: Allow manage.py dumpdata to dump YAML in block style
---------------------------+------------------------------------------------
 Reporter:  sampablokuper  |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Serialization  |     Version:  1.1       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 Using

 {{{
 python manage.py dumpdata --format=yaml
 }}}

 produces output in
 
[http://pyyaml.org/wiki/PyYAMLDocumentation#Dictionarieswithoutnestedcollectionsarenotdumpedcorrectly
 flow style]. That's OK for automated processing, but it isn't anything
 like as human-readable as block style YAML. For people who, like me, need
 to edit the fixtures manually, it would be very useful to be able to do
 something like:

 {{{
 python manage.py dumpdata --format=yaml --flowstyle=false
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11927>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to