David542
David542

Reputation: 110203

How to dumpdata from table outside of django project

To create a fixture for an app in my project I can do:

$ manage.py dumpdata app > app.json

How would I do the same for the auth app, from the django core? That is, I want to transfer all my data from any table starting with app_. Thank you.

Upvotes: 0

Views: 358

Answers (1)

David542
David542

Reputation: 110203

Doesn't matter that it's not inside project folder:

$ manage.py dumpdata auth > auth.json

Upvotes: 3

Related Questions