DEV Community

Discussion on: Tips for improving your Django app performance

Collapse
 
levivm profile image
Levi Velázquez

Well, it depends, you should use the ORM if your query is simple, it doesn't make sense to use raw SQL if you want just to perform a simple select, raw SQL is for complex queries. So, I don't think that we need to avoid ORM usage at all, that is the good part about using a framework, to avoid all the overhead of doing everything manually.