2 ms·
i worked on a mid-sized django app and that was basically what we did: * for normal queries (select /cols from table where id etc etc) we just used plain djang
by fernandotakai 7y ago
i worked on a mid-sized django app and that was basically what we did:
* for normal queries (select /cols from table where id etc etc) we just used plain django orm. even for weird joins, django orm makes it a lot easier than using raw sql
when we needed raw speed, we just wrote raw sql and delegated to django sql layer -- that way we leverage everything the framework has with raw sql power.