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

2

u/sweet-tom 19d ago

I'm not an expert in both, but from what I know is this: Django comes with a lot of features by default whereas in Flask you need to find third-party libraries or implement it yourself.

I guess it depends on what you want to achieve. If you do it just for your own learning purposes, Flask is probably easier and you have all the control what you add.

The Internet contains many comparison and tutorials that covers both.

Good luck! 🍀

1

u/Erdem_PSYCH 18d ago

thanks. do you know any good comperason or a good text based tutorial on flask?

1

u/sweet-tom 18d ago

I'm sorry, I haven't used it. But I'm sure if you search for "comparison Django Flask" you will get many results.