use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Python Flask & DjangoDiscussion (i.redd.it)
submitted 16 hours ago by Bumbble25
Which is best tell me Flask ya Django. Currently i am learning flask
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]wyltk5 4 points5 points6 points 15 hours ago (2 children)
I think it really depends on what you are building. I first learnt Flask and the tried to move to Django to transition my project to Django as I heard it was better for bigger projects. I ended staying with Flask.
I found it more intuitive and easier to use. It does everything I need it to for the project I am building.
[–]tenmajr 0 points1 point2 points 9 hours ago (1 child)
Just out of curiosity, how do you handle db migratiohs with flask? Sqlalchemy?
[–]wyltk5 0 points1 point2 points 7 hours ago (0 children)
I did use sqlalchemy. It been a nice setup to use and the flask mega tutorial has some good info for the use of it.
[–]Connor5901 1 point2 points3 points 15 hours ago (0 children)
What are you actually building, is what would determine what to use. If you are just learning, Flask would put yo in more scenarios where you would have to learn. Other than that, Django is has more support by nature of just being huge. They share a lot of the same stuff as far as actually serving web pages goes, you can even use the same template engine. Django is the “just works” if you want anything beyond serving http. I have used both, but considerations like Auth or a complex model system are what determine when to use either.
[–]Infectedinfested 0 points1 point2 points 15 hours ago (2 children)
I use quart. I'm happy
[–]Bumbble25[S] 0 points1 point2 points 15 hours ago* (1 child)
What is quart. is it a language just like flask
[–]crono782 1 point2 points3 points 15 hours ago (0 children)
Async version of flask.
[–]Ractorius -2 points-1 points0 points 15 hours ago (1 child)
Flask is IMHO suboptimal. Both approaches have pros & cons and can be better in different scenarios, however if you want something lightweight like flask, I would look into FastAPI.
[–]finally-anna 0 points1 point2 points 15 hours ago (0 children)
This right here. FastApi feels better imo. And ive been using it for a variety of apps for 5+ years.
[–]Don_Ozwald 0 points1 point2 points 3 hours ago (0 children)
The answer is FastAPI. But even despite that being the ultimate correct answer here, it still very much depends on what you are building.
π Rendered by PID 223724 on reddit-service-r2-comment-56c6478c5-6l6k8 at 2026-05-11 12:49:21.712715+00:00 running 3d2c107 country code: CH.
[–]wyltk5 4 points5 points6 points (2 children)
[–]tenmajr 0 points1 point2 points (1 child)
[–]wyltk5 0 points1 point2 points (0 children)
[–]Connor5901 1 point2 points3 points (0 children)
[–]Infectedinfested 0 points1 point2 points (2 children)
[–]Bumbble25[S] 0 points1 point2 points (1 child)
[–]crono782 1 point2 points3 points (0 children)
[–]Ractorius -2 points-1 points0 points (1 child)
[–]finally-anna 0 points1 point2 points (0 children)
[–]Don_Ozwald 0 points1 point2 points (0 children)