Django Selective Dumpdata

后端 未结 4 1485
醉话见心
醉话见心 2021-02-01 13:31

Is it possible to selectively filter which records Django\'s dumpdata management command outputs? I have a few models, each with millions of rows, and I only want to dump record

4条回答
  •  一个人的身影
    2021-02-01 13:58

    I think django-fixture-magic might be worth a look at.

    You'll find some additional background info in Scrubbing your Django database.

提交回复
热议问题