mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #4558 -- Modified XML serializer to handle whitespace better around None tags. Thanks to Bill Fenner <fenner@gmail.com> for the report and fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
11
tests/regressiontests/fixtures_regress/fixtures/pretty.xml
Normal file
11
tests/regressiontests/fixtures_regress/fixtures/pretty.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<django-objects version="1.0">
|
||||
<object pk="1" model="fixtures_regress.stuff">
|
||||
<field type="CharField" name="name">
|
||||
<None/>
|
||||
</field>
|
||||
<field to="auth.user" name="owner" rel="ManyToOneRel">
|
||||
<None/>
|
||||
</field>
|
||||
</object>
|
||||
</django-objects>
|
||||
Reference in New Issue
Block a user