#13178: Make YAML serializer prefer block mode over inline mode
---------------------------+------------------------------------------------
 Reporter:  patrys         |       Owner:  nobody    
   Status:  new            |   Milestone:  1.2       
Component:  Serialization  |     Version:  SVN       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  1              |  
---------------------------+------------------------------------------------
 Currently:

 {{{
 $ ./manage.py dumpdata invoicing.customer --format=yaml
 - fields: {address: bar, company: 1, contact: '', deleted_at: null, email:
 [email protected],
     name: Foo, tax_id: ''}
   model: invoicing.customer
   pk: 1
 }}}

 After the change:

 {{{
 $ ./manage.py dumpdata invoicing.customer --format=yaml
 - fields:
     address: bar
     company: 1
     contact: ''
     deleted_at: null
     email: [email protected]
     name: Foo
     tax_id: ''
   model: invoicing.customer
   pk: 1
 }}}

 It makes reading, understanding and editing of fixtures much easier (after
 all that's why we have YAML).

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

Reply via email to