On 3/28/07, jj <[EMAIL PROTECTED]> wrote:

> Couple of suggestions:
> - django's XML parser should really allow spaces and newlines

It does accept whitespace, in certain places. You should also remember
that depending on the schema, whitespace can be significant in XML
documents.

> - it should be possible dump only your own data

This is already possible.

By default, dumpdata will dump _every_ table from _every_ application
- but if you specifically name applications, the dump will be
restricted to just those applications.
`manage.py dumpdata myapp` will only dump data from the tables from myapp.

The reason that the other tables are included is because contenttypes,
authentication, sessions, sites and admin are all individual
applications that must be explicitly loaded into your project.

> - verbosity does not help for loaddata/dumpdata (no extra debug
> information)

What extra debug information are you looking for? IMHO, loaddata
--verbosity=3 is quite verbose.

> - dumpdata should definitely insert newlines and tabs for human
> readibility

It does - see ./manage.py --format=xml --indent=4 dumpdata

> - the current XML format should probably be made more generic to allow
> for greater interop.

Sure. Do you have a specific suggestion?

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to