I'm trying to efficiently pull out objects from my database for an export so that i can use loaddata later.
The package i'm using is [login to view URL] but its very slow.
The models i'm working with are as below, starting with the Template, I have multiple sections which have multiple questions which have multiple answers. I believe the deep collector is pulling out the objects one at a time.
template - FK(Template)
type - integer( 0 or 1)
section - FK(Section)
question - FK(Answer)
1) I need you to see if you can aggregate the queries by model type to make it more efficient.
2) I need to be able to filter the sections exported out by type. E.g I only want those with 0