Hacker News new | ask | show | jobs
by winrid 1005 days ago
This. I found DRF gets very confusing with all the abstraction for complicated stuff. For simple APIs, it's very nice (I used it on govscent.org). SidewaysData uses Ninja and I love it so far.
1 comments

DRF becomes hard to understand when you use magical stuff like class based controllers and so on. stick to functions and it's actually very simple!
You're absolutely right - however I did not even know I could use functions. I didn't see that in the docs somehow.

Also I think I remember with DRF I had trouble generating a good openapi client. With ninja it works really well.