Use Django dumpdata to dump a subset of overall data?

Posted by thebossman on Stack Overflow See other posts from Stack Overflow or by thebossman
Published on 2010-04-28T23:51:41Z Indexed on 2010/04/28 23:57 UTC
Read the original article Hit count: 321

Filed under:
|
|
|

I'm trying to use dumpdata to generate JSON for a database that is sufficiently large for django to take a long, long time to output. Is there any way to dump only a subset of the fields; say, 100, for testing?

I'm using MySQL and Django 1.0.

© Stack Overflow or respective owner

Related posts about django

Related posts about django-models