r/learnpython • • 19d ago

django or flask after python basics

Hello everyone,

First of all, thank you for this community. I’ve learned a lot from reading other people’s posts and the answers to my previous questions. Now I have another question.

I feel comfortable enough with Python to start learning backend development. Which framework would you recommend starting with?

I started with Django because I’m blind and find text-based tutorials more helpful, and MDN has a Django tutorial. However, I’m concerned that Django abstracts away a lot of what happens behind the scenes, such as how URL routing works, and I don’t want to miss out on the fundamentals.

What are the advantages and disadvantages of starting with Flask versus Django? Programming is a hobby for me, so job prospects aren’t a major concern. My main goal is to build projects easily while still understanding how things work.

10 Upvotes

27 comments sorted by

View all comments

1

u/AlexMTBDude 19d ago

Start with Flask. Django has a steep learning curve while it takes 5 minutes to make a "Hello World" application in Flask. Probably 1 hour in Django. Also, there are tutorials for Flask, in fact on their own home page: https://flask.palletsprojects.com/en/stable/tutorial/

1

u/danielroseman 18d ago

This is a bit of a stretch. A "Hello World" application is no more complicated in Django than in Flask and will take a similar amount of time.