Hacker News new | ask | show | jobs
by konschubert 793 days ago
I was thinking the same the past few days.

Going with fastapi and sqlalchemy, there is no django admin and no user management out of the box.

But writing serialisers for DRF feels dated.

3 comments

Would highly recommend you check out Django Ninja as well as Django Ninja Extras. Having done Flask + FastAPI dev then Django, Django Ninja brings the modern feel of FastAPI to the battle tested reliability of Django.
I’ve been very happy with Django ninja. It brings in pydantic as well so you get the benefit of type safety in addition to a much faster request response cycle as compared to DRF
You can quite easily generate typescript models from DRF serializers, that helps a lot when setting up a frontend project against a DRF api.