AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Importance of the ORM in Advanced Django
The ORM is by far the most important bit of Django, you know, like you can imagine almost any other bit of Django looking kind of different or replacing it with something else. So we tend to try and put as much business logic as we can in the back end rather than in the front end. We do end up with quite complex and quite bespoke API endpoints. It allows this page in the app to render, I guess, rather than the front end having to make millions of API calls and stitching them all together again. And what's really nice about it is the composability. It's like you could define the individual bits to pull the fields out or the individual query