News for hackers. Stuff that matters.
Re:Taming the beast that is the Django ORM – An introduction by malux85 on Sunday September 01, 2024 @12:40AM (#41414347)
I love the django ORM and then the REST framework on top of that.

Define the object, hook it to a view, use our custom permission class, done.

GET, POST, PATCH, DELETE all urls, filtering, pagination, search, ordering, complex multi-org multi-user object permissions handled automatically. Need custom logic? Just overwrite method.

It’s a productivity superpower, sure there’s a lot to learn but that’s the price you pay for the tools that make you hyper productive

Re:Taming the beast that is the Django ORM – An introduction by nprateem on Sunday September 01, 2024 @02:45AM (#41414831)
Ninja is even better than the REST framework. Practically no boilerplate.