|
|
|
|
|
by winrid
523 days ago
|
|
DRF has more abstraction. When I was new to Django I found DRF hard to build a larger API with it and not make mistakes or have things get confusing. You're primarily working by extending classes etc. With django-ninja you just define your APIs with annotated types as methods, there is no magic, and then you get a generated OpenAPI spec. this was my experience anyway, I used DRF for this project [0] and ninja for this one [1] [0] https://govscent.org/api/ [1] https://sidewaysdata.com/api/docs |
|