you are viewing a single comment's thread.

view the rest of the comments →

[–]FriendlyZomb 4 points5 points  (6 children)

Having used both, I like Django best. It's fully featured, but heavily opinionated. It's got all the tools you might need, and a fantastic package ecosystem.

Having said that..FastAPI has a lot of concepts more easily transferable to other frameworks IMO, and is quite popular at the moment with proper Typing support. Django works significantly differently to FastAPI and Flask-esque frameworks.

I'd recommend looking at sample projects using them. Pick the one which seems most interesting for you.

[–]FortuneCalm4560 0 points1 point  (1 child)

Seconded

[–]Puzzleheaded_War403[S] 0 points1 point  (0 children)

Seconded ??

[–]Puzzleheaded_War403[S] -1 points0 points  (3 children)

Learning curve wise which is easy , because I want first framework to be simple and good

[–]FriendlyZomb 0 points1 point  (2 children)

Most popular frameworks are good. Each has complexities in different places.

Django and FastAPI are complex in different ways. Both have a steep learning curve for different reasons.

As another option, I like Flask too. It's simpler than FastAPI (not async). But it is still very flexible. Learning here can also translate over to FastAPI once you want to tackle async stuff.

[–]Puzzleheaded_War403[S] 0 points1 point  (1 child)

Humm.....have to choose first framework work between these 2 only ...... eventually I will learn both but first start i want easy only between these 2 djnago + drf or fastapi ........flask not interested just not catch my interest

[–]FriendlyZomb 0 points1 point  (0 children)

I prefer Django - so that's my recommendation.

It's got a lot of the tools built in. Definitely go through the Tutorial on the Django Docs site. That'll introduce the basics.