News for hackers. Stuff that matters.
Re:FastAPI framework, high perf, easy to learn, fast to code... by alchermd on Monday February 01, 2021 @01:45PM (#25991896)
I still use Django to this day, both for monolithic SSRs and REST APIs. All the batteries it comes with are perfect for the common use case, and the small "bubble" around it (ex: DRF) is as good as it gets IMO.

The tooling around REST APIs are lacking compared to Flask and FastAPI, but wrangling what's available (drf-yasg, oauth2lib) to suit my needs is better than migrating to another framework I think.

Re:FastAPI framework, high perf, easy to learn, fast to code... by konschubert on Monday February 01, 2021 @02:37PM (#25992678)
Same here. When I want to get a new project of the ground, I use Django.

This partially due to the batteries included, partially because I am very familiar with it.

On more mature projects, at the stage where I really start splitting services into their own hosts, I switch to something else. Django's batteries are no longer useful at this stage, since e.g. auth is it's own service now.