4 ms·
It's a much nicer development experience because of typing and pydantic. If you are using a language server, it's a game changer. Ninja also has async view sup
by WD-42 3y ago
It's a much nicer development experience because of typing and pydantic. If you are using a language server, it's a game changer.
Ninja also has async view support, I'm not sure the status of DRF in this regard.
The auto generated docs are much nicer (swagger).
It's MUCH more lightweight than DRF. Unless you are using OP's package, there are no giant class based view hierarchies and viewsets and all that, just plain functions for views. In which you define the input and output as pydantic schemas, it's so simple and refreshing.