No video

Django VS Flask - Which Should You Learn

  Рет қаралды 244,679

Tech With Tim

Tech With Tim

Күн бұрын

Should you use Django or Flask? The answer to that relies on what your use case and goals are, so I break down in this video which web development framework you should use, depending on your goals.
💻 Master Blockchain and Web 3.0 development today by using BlockchainExpert: 🔗 algoexpert.io/... (Use code "tim" for a discount!)
💻 Accelerate your software engineering career with ProgrammingExpert: 🔗 programmingexp... (Use code "tim" for a discount!)
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
👕 Merchandise: 🔗 teespring.com/...
📸 Instagram: 🔗 / tech_with_tim
📱 Twitter: 🔗 / techwithtimm
🔊 Discord: 🔗 / discord
📝 LinkedIn: 🔗 / tim-ruscica-82631b179
🌎 Website: 🔗 techwithtim.net
📂 GitHub: 🔗 github.com/tec...
One-Time Donations: 💲 www.paypal.com...
Patreon: 💲 / techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
Django vs Flask, Django, Flask, Python Web Frameworks
⭐️ Hashtags ⭐️
#techwithtim #shorts

Пікірлер: 127
@Jackson_Zheng
@Jackson_Zheng Жыл бұрын
So basically use flask until I need to switch over to Django
@adityanjsg99
@adityanjsg99 Жыл бұрын
Start with Flask, no need to wait. Django is superset of what flask can do
@Jackson_Zheng
@Jackson_Zheng Жыл бұрын
@@adityanjsg99 I ended up using FastAPI
@TrilioniME
@TrilioniME 5 ай бұрын
What I don’t like about Django is Django Rest Framework. Will it be a good practice to use Django with another framework for API?
@xandermidov
@xandermidov Жыл бұрын
I recomend Flask for newbie developers. It's much easier to understand how basically such frameworks works.
@tomasz3122
@tomasz3122 Жыл бұрын
Noo it's totally the other way around. Django is more newbie friendly because you can't really break something in there.
@Man-si9xf
@Man-si9xf Жыл бұрын
I don't think so, flask is for experienced programmers who customize things for themselves. Django is better to understand how the framework works then flask
@xandermidov
@xandermidov Жыл бұрын
@@Man-si9xf with flask you can easily understand how engine works from one file and couple strings of code. With more expanding it you learn more from flask, step by step. Django shows you a big application an you lost in it.
@Man-si9xf
@Man-si9xf Жыл бұрын
@@xandermidov i agree with you
@ajudmeister
@ajudmeister Жыл бұрын
Beginners are looking for a battery included framework, hence Django ftw. Tutorials on my channel 😊
@clashingtv2527
@clashingtv2527 9 ай бұрын
I'm using flask and I have already created e commerce website, job portals, blogs, and e tech platform 😂 Trust you suffer a lot while using flask to authenticate, admin panel but it's good for understanding how things work. Now I'm going shift to django
@saichandm4740
@saichandm4740 3 ай бұрын
Recommended the best flask course for newbie
@ipodtouch470
@ipodtouch470 17 күн бұрын
@@saichandm4740the documentation
@aycoded7840
@aycoded7840 14 күн бұрын
Hey, how was the transition period from flask to django? Did you do it?
@g-whittington1
@g-whittington1 Жыл бұрын
I'm taking a web programing course in university this year and to my surprise, the latter half of the course will be using Django. I'm quite excited
@bigpickles
@bigpickles Жыл бұрын
My advice to newbies is to learn django. You'll pick up flask in half a day and know both that way.
@CodingGeek101
@CodingGeek101 Жыл бұрын
Agree. It's like: learn css, don't jump to bootstrap tailwind or figma. I learned all these in a day each after learning css to the core
@dakoderii4221
@dakoderii4221 10 ай бұрын
Django was easier for me as well. With Flask, I didn't know what I didn't know. With Django, I could see the various pieces that I needed to learn about and then learn about them.
@yesyes9698
@yesyes9698 8 ай бұрын
@@dakoderii4221really like Django for this. Feels very organized. More like build a bit here then connect it here and tweak here and there.
@thecodingchallengeshow
@thecodingchallengeshow 7 ай бұрын
Sounds good 👍
@prior2915
@prior2915 6 ай бұрын
where did you learn Django? @@dakoderii4221
@mickolesmana5899
@mickolesmana5899 Жыл бұрын
Django is the bounty hunter while flask is the tool that he uses to drink water
@thebusinesscentre
@thebusinesscentre Жыл бұрын
😂😂😂 😅
@nocopyrightgameplaystockvi231
@nocopyrightgameplaystockvi231 8 ай бұрын
Django uses Flask for catching fish.
@Lunolux
@Lunolux Жыл бұрын
i have 5 web using flask, 1 bottle, and 1 django, i prefere flask over django but i never really use all the potentiel of django and found more easy to use flask
@islekcaganmert
@islekcaganmert 11 ай бұрын
I have a startup most of the products are written in flask. Now, it is turned into an API + basic redirect links. Flask was the best for us since it doesn't have anything built in and wants all from out. Now we have our own microframework, so it is the one fits best to us.
@Nidal_C
@Nidal_C 6 ай бұрын
starting with django is the best way ^^
@Dogberto999
@Dogberto999 Жыл бұрын
Flask has tons of extensions to make up for that though, like Flask-SQLAlchemy (ORM) or Flask-JWT-Extended for auth etc. A lot of people just don't know how to implement factory pattern with something like Flask-RESTful classes.
@movrew
@movrew Жыл бұрын
Exactly and flask is more flexible than Django
@govindbarwa1806
@govindbarwa1806 Жыл бұрын
I dont think SqlAlchemy has orm in flask
@cerberusrap
@cerberusrap 6 ай бұрын
Just dive into Django. I did this when I started and I am happy now.
@alien8tiv
@alien8tiv 9 ай бұрын
Been using Flask for a while now and works well for my small projects. Been checking out Django since my latest hobby project is growing quite big and with a ton of routes, I hope Django is the solution. Thanks Tim
@kamal-hassan
@kamal-hassan 10 ай бұрын
I prefer Flask even though I've learnt Django before Flask.
@AtomTiger3460
@AtomTiger3460 Жыл бұрын
What about FastAPI?
@Gaer56
@Gaer56 Жыл бұрын
Similar with Flask. Never used Flask but it goes similar way in terms of fast hobby project.
@stephenthumb2912
@stephenthumb2912 Жыл бұрын
To me unlike Flask or Django, FastAPI should be used for API's, pretty much only. Trying to manage app state with FastAPI you'll need to do it yourself while in Django amd Flask you have built in auth and lots of vetted libraries, FastAPI basically has 1 library that can handle user app state and i don't even like it.
@adityanjsg99
@adityanjsg99 Жыл бұрын
New one, small size community. Good for small stand alone apps. Not scalable.
@48_subhambanerjee22
@48_subhambanerjee22 10 ай бұрын
I use nextjs woth flask.. i am an insane person
@dasaavawarsuploads1143
@dasaavawarsuploads1143 9 ай бұрын
FastAPI is pretty similar to Flask, but it supports async operations and the same ORM as Django. It's also much faster. But it requires as much work as in Flask for setting a whole app. In the company where I work, we migrate our Django endpoints to a FastAPI API. Since it is lighter it saves a lot of resources in the cloud. Django Rest Framework is still pretty good if you want to create CRUDs in 15 minutes.
@simplypixels1097
@simplypixels1097 Жыл бұрын
Your lighting is making you look like a telltale character.
@WHT_-ue2rl
@WHT_-ue2rl Жыл бұрын
Django VS Flask - Which Should You Learn Answer: Both of them Also you can familiarize yourself with fastapi
@user-Red_Haired1984
@user-Red_Haired1984 4 күн бұрын
I thought the same.
@VamsiKrishna-pp4fy
@VamsiKrishna-pp4fy Жыл бұрын
Flask and django are used by many tech gaints also. so either one would be fine
@IffyEdem
@IffyEdem 10 ай бұрын
Flask has authentication modules
@noobzaebot
@noobzaebot Жыл бұрын
Django has admin panel out of the box. A bit slower perhaps
@asagiai4965
@asagiai4965 10 ай бұрын
thanks for the explanation. I'm always thinking what's the difference.
@user-qf6mg6yz9n
@user-qf6mg6yz9n 3 ай бұрын
The only thing I miss whenever I am working with other frameworks or languages is the Django Admin. I think that's the only special thing about Django for me.
@aalper16
@aalper16 8 ай бұрын
i can do authenticion with flask
@mista_ia
@mista_ia 10 ай бұрын
But even until 2023, it is very difficult to get Django works with a NoSQL (as DJANGO is ORM oriented,) which makes that full stack framework not enough flexible
@yourbestsail
@yourbestsail 7 ай бұрын
Exactly, you loose the flexibility of Flask.
@nejdetyucesoy
@nejdetyucesoy Жыл бұрын
Despite you have some good points, "use flask for your hobby projects" is kinda superficial.
@enriquebruzual1702
@enriquebruzual1702 6 ай бұрын
Working on Django saas, but using Flask to write a helper library to later port it to my Django App
@alimihakeem841
@alimihakeem841 Жыл бұрын
Thanks for sharing this.. it's helpful to me
@ariarc
@ariarc 10 ай бұрын
Short and wonderfully informational. Thanks.
@fredflintstone8048
@fredflintstone8048 11 ай бұрын
Thanks Tim. Another great informative video.
@samblanton967
@samblanton967 11 ай бұрын
You say it like Flask can’t be used at scale, but that’s simply not true.
@princeoftech001
@princeoftech001 7 ай бұрын
He didn't say that
@RupeshBhandari-977
@RupeshBhandari-977 Жыл бұрын
Please make a video on ORM concepts
@asahj2242
@asahj2242 7 ай бұрын
Can flask create a membership website?
@arunabraham9382
@arunabraham9382 Ай бұрын
Use flask for modular apps even microservice stack. Django for monolith
@deepbarankar2852
@deepbarankar2852 Жыл бұрын
I mainly work with Tornado and Bottle. If you are a working professional, then I believe, become framework agnostic and embrace Python very deeply. But for a personal project, I would always go with flask (Personal preference).
@arthurmaul3284
@arthurmaul3284 Жыл бұрын
what are tornado and bottle, ive never heard of those before
@Kayi_Alp07
@Kayi_Alp07 2 ай бұрын
More contents like this please ❤❤❤❤
@devdavkup
@devdavkup 15 күн бұрын
How to use django with next.js, it doesn't want to work for me, it constantly conflicts with built-in views in django
@ViralKiller
@ViralKiller Жыл бұрын
I prefer writing my own Auth
@IffyEdem
@IffyEdem 10 ай бұрын
I’ll probably do that as an extra measure
@mikec64
@mikec64 26 күн бұрын
Flask seems ideal for REST APIs
@TorstenFischer-gj4cs
@TorstenFischer-gj4cs 8 ай бұрын
What if you are planning for using supabase for backend and ath? What about combining flask with supabase?
@hirotv3544
@hirotv3544 7 ай бұрын
Thanks shelly
@Mikhail.Warner
@Mikhail.Warner 2 ай бұрын
Django is what I first started with and it is not that hard for a newbie to learn.
@HONjramiroz98
@HONjramiroz98 Жыл бұрын
Netflix is built upon flask
@deepthiacharya9991
@deepthiacharya9991 5 ай бұрын
What can i use if i want to make front end for a computer vision project?
@JoyUnknownArtist
@JoyUnknownArtist Жыл бұрын
Django Jobs will grow?
@c-ybueze2868
@c-ybueze2868 27 күн бұрын
Please are there jobs for Django devs?
@LorenzoJimenez
@LorenzoJimenez 11 ай бұрын
So, Django is like Express?
@fumano2679
@fumano2679 Жыл бұрын
The answer is actix-web
@Vancha112
@Vancha112 Жыл бұрын
Reported :p
@NM_kawaii
@NM_kawaii 11 ай бұрын
but i am unable to access django admin panel
@tejaswinisadegaonkar
@tejaswinisadegaonkar 11 ай бұрын
I have been asked to develop a small project for my interview it is text analysis one have to use microservices …..what should I use flask or Django?
@manithota2279
@manithota2279 9 ай бұрын
So what did you choose?
@manithota2279
@manithota2279 9 ай бұрын
And how was your interview?
@user-uk4vk8ee3u
@user-uk4vk8ee3u 7 ай бұрын
Go for Django. Do dj4e with chuck
@hahauw3
@hahauw3 Жыл бұрын
Thanks you saved i learnt django i thought i should also learn this im good with django
@alxsay
@alxsay Жыл бұрын
both
@orionNsirius
@orionNsirius 6 ай бұрын
i m a flaskian now. maybe djangon in the future
@colddropz4u
@colddropz4u 2 ай бұрын
Flask is used in most of the high-end projects... Its not for beginners
@mohammadyameen801
@mohammadyameen801 Жыл бұрын
But I feel Django is easier to learn than Flask
@viragjain180
@viragjain180 2 ай бұрын
Now FastAPI!
@mdmahib5863
@mdmahib5863 Жыл бұрын
aeiiii bro got some cool beard
@leroypowell-louis499
@leroypowell-louis499 Жыл бұрын
Just go for Nodejs you guys and experience true power
@emon5128
@emon5128 7 ай бұрын
Flask is very much flexible for me.
@adityanjsg99
@adityanjsg99 Жыл бұрын
Django...!
@alensebastian4677
@alensebastian4677 Жыл бұрын
And then there is FastAPI⚡
@WoohoowillyOSRS
@WoohoowillyOSRS Жыл бұрын
Nice thumbs 👍
@Darkvictorious
@Darkvictorious 6 ай бұрын
A little… a lot I would say. You’ll be wasting weeks in your one time catalog forms when you can do it half a day of django.
@SLabs-my7vr
@SLabs-my7vr Жыл бұрын
Where have you been? It's been a while
@zeldaplayergl11
@zeldaplayergl11 Жыл бұрын
I agree... he's back and just been pumping out banger after banger
@spyroninja
@spyroninja 23 күн бұрын
You didn't even say what language they're in
@thebusinesscentre
@thebusinesscentre Жыл бұрын
Django it is 😂
@secretr5024
@secretr5024 8 ай бұрын
Django is still pretty easy tho
@LiquidMasti
@LiquidMasti 9 ай бұрын
Fast API
@anishkhatiwada2502
@anishkhatiwada2502 Жыл бұрын
what about Fast api
@jazzycoder
@jazzycoder Жыл бұрын
|This is terrible advice. In experienced developers should NOT use Flask. Django is great for newbies as it does all the thinking for you. With Flask you're on your own.
@vishnuss7740
@vishnuss7740 Жыл бұрын
FastApi?
@supitsparth
@supitsparth 7 ай бұрын
FastAPI lmao
@stonecrane167
@stonecrane167 7 ай бұрын
Flask is better
@yourbestsail
@yourbestsail 7 ай бұрын
Flask is more flexible.
@franco-gil
@franco-gil 3 ай бұрын
FastApi
@Man-si9xf
@Man-si9xf Жыл бұрын
I think, Flask for experienced programmers
@adityanjsg99
@adityanjsg99 Жыл бұрын
Django for experienced programmers.
@satyamkumar-jp3po
@satyamkumar-jp3po Жыл бұрын
Pinterest and linkedin laughing in the corner
@chachacha1289
@chachacha1289 Жыл бұрын
encore,fff
@MixeilCheishvili
@MixeilCheishvili Жыл бұрын
Django works best when database queries are simple, but it becomes a painful experience when they become complex. there is nothing to discuss here; I am speaking from experience. Additionally, there aren't many ways to switch back on advanced orms like SQLAlchemy; despite there are projects like Aldjemy, all I tried was a waste of time. Do not use Django if you plan to use complex/optimized queries and you are concerned about query optimization
@marconisoares2186
@marconisoares2186 Жыл бұрын
Skill issue 👍
@yourbestsail
@yourbestsail 7 ай бұрын
Precisely, much more flexible Flask.
@khatriiman_8b519
@khatriiman_8b519 Жыл бұрын
2nd comment, BTW very helpful
@niteshanthony2324
@niteshanthony2324 7 ай бұрын
For God so loved the world that He gave His only begotten Son, that whoever believes in Him should not perish but have everlasting life.❤😊❤😊❤
@Mr.Glockinstien
@Mr.Glockinstien 8 ай бұрын
I thought a flask was something you drink liquor out of in public
FastAPI, Flask or Django - Which Should You Use?
9:49
Tech With Tim
Рет қаралды 73 М.
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,6 МЛН
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 6 МЛН
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 23 МЛН
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1,1 МЛН
Python Flask vs Django Explained in 3 Minutes ✅
3:33
ClickIT DevOps & Software Development
Рет қаралды 3,4 М.
The Truth About Learning Python in 2024
13:05
Tech With Tim
Рет қаралды 61 М.
Web Scraping 101: A Million Dollar Project Idea
13:07
Tech With Tim
Рет қаралды 555 М.
How To Practice Programming So You Actually Get Good
15:46
Tech With Tim
Рет қаралды 131 М.
How I Would Learn Python in 2024 (if I could start over)
13:21
Tech With Tim
Рет қаралды 58 М.
12 VS Code Extensions to INCREASE Productivity 2024
27:13
Devression
Рет қаралды 661 М.
Laravel, Django, Next.js ... which framework would I use for building a SaaS?
11:35
Maximilian Schwarzmüller
Рет қаралды 26 М.
Build a Python Website in 15 Minutes With Streamlit
18:37
Tech With Tim
Рет қаралды 45 М.
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 6 МЛН