Django VS Flask - Which Should You Learn

  Рет қаралды 298,683

Tech With Tim

Tech With Tim

Күн бұрын

Пікірлер: 157
@Anas_Alaqeel
@Anas_Alaqeel Ай бұрын
As a current Django developer and former Flask developer, I can attest that Django seems overly complex, with too much "magic" that just works without clear understanding. This means if something breaks, it's often hard to fix or replicate the same 'magic' that Django performs. Django can hinder learning and building from scratch, which may lead to being a follower rather than an innovator.
@thrillhouse4784
@thrillhouse4784 Ай бұрын
So than do Django developers secretly drink out of a flask?
@musonobari2560
@musonobari2560 Ай бұрын
​@@thrillhouse4784 😂😂😂😂😂😂 I just laughed outloud
@thrillhouse4784
@thrillhouse4784 Ай бұрын
@@musonobari2560 ill be on tour soon
@emilypapillon
@emilypapillon Ай бұрын
​@@thrillhouse4784🤣🤣🤣
@codingSparrow143
@codingSparrow143 4 күн бұрын
@@thrillhouse4784 That was totally funny 😂😂😂😂😂😂😂😂
@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 9 ай бұрын
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?
@Bobble2520
@Bobble2520 Ай бұрын
I learned Flask first. When using a database, Django was easier, but SQL is a skill so that was coo.. but making the server and API, I like better in flask
@DIY_Foodie
@DIY_Foodie Ай бұрын
fast is even better​@@Bobble2520
@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 Жыл бұрын
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 6 ай бұрын
Recommended the best flask course for newbie
@ipodtouch470
@ipodtouch470 3 ай бұрын
@@saichandm4740the documentation
@aycoded7840
@aycoded7840 3 ай бұрын
Hey, how was the transition period from flask to django? Did you do it?
@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 Жыл бұрын
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 11 ай бұрын
@@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 11 ай бұрын
Sounds good 👍
@prior2915
@prior2915 10 ай бұрын
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 11 ай бұрын
Django uses Flask for catching fish.
@g-whittington
@g-whittington Жыл бұрын
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
@cerberusrap
@cerberusrap 9 ай бұрын
Just dive into Django. I did this when I started and I am happy now.
@islekcaganmert
@islekcaganmert Жыл бұрын
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.
@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
@Nidal_C
@Nidal_C 9 ай бұрын
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
@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 3 ай бұрын
I thought the same.
@alien8tiv
@alien8tiv Жыл бұрын
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
@R00kTruth
@R00kTruth 2 ай бұрын
tbh you should use both, use flask as a sandbox to get your website/project to how you want and feel including your admin panel/database etcs, as it's easier to setup and navigate, once everything is how you want, then start the proceed of transferring it to Django,
@kamal-hassan
@kamal-hassan Жыл бұрын
I prefer Flask even though I've learnt Django before Flask.
@khalilgaming-d6c
@khalilgaming-d6c 3 ай бұрын
any reason for that? , which is better though ?
@simplypixels1097
@simplypixels1097 Жыл бұрын
Your lighting is making you look like a telltale character.
@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 Жыл бұрын
I use nextjs woth flask.. i am an insane person
@dasaauploads1143
@dasaauploads1143 Жыл бұрын
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.
@ViralKiller
@ViralKiller Жыл бұрын
I prefer writing my own Auth
@IffyEdem
@IffyEdem Жыл бұрын
I’ll probably do that as an extra measure
@VamsiKrishna-pp4fy
@VamsiKrishna-pp4fy Жыл бұрын
Flask and django are used by many tech gaints also. so either one would be fine
@IffyEdem
@IffyEdem Жыл бұрын
Flask has authentication modules
@Andrew-Tsegaye
@Andrew-Tsegaye 7 күн бұрын
Tim, do you have an editor, or do you edit yourself?
@noobzaebot
@noobzaebot Жыл бұрын
Django has admin panel out of the box. A bit slower perhaps
@samblanton967
@samblanton967 Жыл бұрын
You say it like Flask can’t be used at scale, but that’s simply not true.
@princeoftech001
@princeoftech001 10 ай бұрын
He didn't say that
@olivierpicq3481
@olivierpicq3481 2 ай бұрын
I feel that is is misleading. I use Flask for big projects in my company. I like its flexibility and whatever you want to add, there are modules for it and blueprints enable to structure your code nicely. Django forces me to do things its specific way or use things that I don’t need and I don’t like it.
@thescaredghost
@thescaredghost 6 ай бұрын
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.
@nejdetyucesoy
@nejdetyucesoy Жыл бұрын
Despite you have some good points, "use flask for your hobby projects" is kinda superficial.
@asagiai4965
@asagiai4965 Жыл бұрын
thanks for the explanation. I'm always thinking what's the difference.
@asahj2242
@asahj2242 10 ай бұрын
Can flask create a membership website?
@TrungNguyen-eg4zp
@TrungNguyen-eg4zp 23 күн бұрын
So i need to deploy my ML/DL model and an AI chat box working with database with natural language, Should i use Django or Flutter for front-end and Flask for back-end? Pls help me, It is for my graduation project
@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
@arunabraham9382
@arunabraham9382 5 ай бұрын
Use flask for modular apps even microservice stack. Django for monolith
@ariarc
@ariarc Жыл бұрын
Short and wonderfully informational. Thanks.
@TorstenFischer-gj4cs
@TorstenFischer-gj4cs 11 ай бұрын
What if you are planning for using supabase for backend and ath? What about combining flask with supabase?
@aalper16
@aalper16 11 ай бұрын
i can do authenticion with flask
@fredflintstone8048
@fredflintstone8048 Жыл бұрын
Thanks Tim. Another great informative video.
@mista_ia
@mista_ia Жыл бұрын
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 10 ай бұрын
Exactly, you loose the flexibility of Flask.
@enriquebruzual1702
@enriquebruzual1702 9 ай бұрын
Working on Django saas, but using Flask to write a helper library to later port it to my Django App
@RupeshBhandari-977
@RupeshBhandari-977 Жыл бұрын
Please make a video on ORM concepts
@Kayi_Alp07
@Kayi_Alp07 5 ай бұрын
More contents like this please ❤❤❤❤
@alimihakeem841
@alimihakeem841 Жыл бұрын
Thanks for sharing this.. it's helpful to me
@hirotv3544
@hirotv3544 10 ай бұрын
Thanks shelly
@HONjramiroz98
@HONjramiroz98 Жыл бұрын
Netflix is built upon flask
@tonkyboy8920
@tonkyboy8920 Ай бұрын
What about streamlint? Is this super lightweight?
@Anshu-v1p
@Anshu-v1p 2 ай бұрын
Does HTML, CSS and JavaScript required for flask ??
@harshrana3012
@harshrana3012 2 ай бұрын
Yes for frontend definetely, as flask is backend framework
@Anshu-v1p
@Anshu-v1p 2 ай бұрын
@@harshrana3012 it means I can learn flask without these languages but only able to do backend then, right?
@the_villan_4761
@the_villan_4761 2 ай бұрын
You can learn flask without knowledge about html, css, js but ...but some topics need to know html,css,js because you will interact with front-end also....learn or small knowledge about html, css is good to learn flask....if not little bit harder to learn ❤🎉😊
@the_villan_4761
@the_villan_4761 2 ай бұрын
I am also struggled in this particular problem...I hope you understand clearly
@Anshu-v1p
@Anshu-v1p 2 ай бұрын
@@the_villan_4761 thank you so much, I got stuck there from a while but now it's clear, thanks ❤️
@jakubfrei3757
@jakubfrei3757 Ай бұрын
Well... Flask actually teaches you how to code because as you Said, you have to write a lot code by yourself, so its better to beginners.... Cause its pain and from pain, you learn skills in programmimg
@april147
@april147 Ай бұрын
I need advice. I want a simple web page that gets data from ML model. User uploads an image. It should run the ML model and match and shows the result to user. Which language should I use for this? Please help someone. TIA 😊
@deepthiacharya9991
@deepthiacharya9991 8 ай бұрын
What can i use if i want to make front end for a computer vision project?
@devdavkup
@devdavkup 3 ай бұрын
How to use django with next.js, it doesn't want to work for me, it constantly conflicts with built-in views in django
@LorenzoJimenez
@LorenzoJimenez Жыл бұрын
So, Django is like Express?
@tejaswinisadegaonkar
@tejaswinisadegaonkar Жыл бұрын
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 Жыл бұрын
So what did you choose?
@manithota2279
@manithota2279 Жыл бұрын
And how was your interview?
@JoyUnknownArtist
@JoyUnknownArtist Жыл бұрын
Django Jobs will grow?
@mohammadyameen801
@mohammadyameen801 Жыл бұрын
But I feel Django is easier to learn than Flask
@TakuMapfumo-n5g
@TakuMapfumo-n5g 10 ай бұрын
Go for Django. Do dj4e with chuck
@fumano2679
@fumano2679 Жыл бұрын
The answer is actix-web
@Vancha112
@Vancha112 Жыл бұрын
Reported :p
@c-ybueze2868
@c-ybueze2868 4 ай бұрын
Please are there jobs for Django devs?
@mikec64
@mikec64 4 ай бұрын
Flask seems ideal for REST APIs
@Mikhail.Warner
@Mikhail.Warner 5 ай бұрын
Django is what I first started with and it is not that hard for a newbie to learn.
@emon5128
@emon5128 10 ай бұрын
Flask is very much flexible for me.
@orionNsirius
@orionNsirius 9 ай бұрын
i m a flaskian now. maybe djangon in the future
@NM_kawaii
@NM_kawaii Жыл бұрын
but i am unable to access django admin panel
@alxsay
@alxsay Жыл бұрын
both
@colddropz4u
@colddropz4u 5 ай бұрын
Flask is used in most of the high-end projects... Its not for beginners
@mdmahib5863
@mdmahib5863 Жыл бұрын
aeiiii bro got some cool beard
@woohoowilly
@woohoowilly Жыл бұрын
Nice thumbs 👍
@DIY_Foodie
@DIY_Foodie Ай бұрын
What about Fast API
@hahauw3
@hahauw3 Жыл бұрын
Thanks you saved i learnt django i thought i should also learn this im good with django
@Darkvictorious
@Darkvictorious 9 ай бұрын
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.
@adityanjsg99
@adityanjsg99 Жыл бұрын
Django...!
@alensebastian4677
@alensebastian4677 Жыл бұрын
And then there is FastAPI⚡
@cscompsci
@cscompsci 21 күн бұрын
I prefer fastapi
@yourbestsail
@yourbestsail 10 ай бұрын
Flask is more flexible.
@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
@viragjain180
@viragjain180 5 ай бұрын
Now FastAPI!
@learntocode5464
@learntocode5464 21 күн бұрын
Fastapi or starlette is much better than Flask
@wasubisu2654
@wasubisu2654 17 күн бұрын
Laravel
@Man-si9xf
@Man-si9xf Жыл бұрын
I think, Flask for experienced programmers
@adityanjsg99
@adityanjsg99 Жыл бұрын
Django for experienced programmers.
@secretr5024
@secretr5024 11 ай бұрын
Django is still pretty easy tho
@spyroninja
@spyroninja 3 ай бұрын
You didn't even say what language they're in
@vishnuss7740
@vishnuss7740 Жыл бұрын
FastApi?
@stonecrane167
@stonecrane167 10 ай бұрын
Flask is better
@thebusinesscentre
@thebusinesscentre Жыл бұрын
Django it is 😂
@satyamkumar-jp3po
@satyamkumar-jp3po Жыл бұрын
Pinterest and linkedin laughing in the corner
@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 10 ай бұрын
Precisely, much more flexible Flask.
@LiquidMasti
@LiquidMasti Жыл бұрын
Fast API
@franco-gil
@franco-gil 6 ай бұрын
FastApi
@anishkhatiwada2502
@anishkhatiwada2502 Жыл бұрын
what about Fast api
@chachacha1289
@chachacha1289 Жыл бұрын
encore,fff
@supitsparth
@supitsparth 10 ай бұрын
FastAPI lmao
@khatriiman_8b519
@khatriiman_8b519 Жыл бұрын
2nd comment, BTW very helpful
@niteshanthony2324
@niteshanthony2324 10 ай бұрын
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.❤😊❤😊❤
@leroypowell-louis499
@leroypowell-louis499 Жыл бұрын
Just go for Nodejs you guys and experience true power
@Medical-relaxTV
@Medical-relaxTV 2 ай бұрын
I thimk you are also beginer so please don t do tutorial in something you do not master to not wasting people time like you do in the last tuto
@Mr.Glockinstien
@Mr.Glockinstien 11 ай бұрын
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
Рет қаралды 104 М.
build a meme Python website (Flask Tutorial for Beginners)
13:30
NetworkChuck
Рет қаралды 512 М.
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 5 МЛН
One day.. 🙌
00:33
Celine Dept
Рет қаралды 50 МЛН
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1,2 МЛН
FastAPI vs Django 2024: Which Framework Should You Choose?
3:42
Tisfoulla Academy
Рет қаралды 1,5 М.
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,6 МЛН
Laravel, Django, Next.js ... which framework would I use for building a SaaS?
11:35
Maximilian Schwarzmüller
Рет қаралды 32 М.
Full Flask Course For Python - From Basics To Deployment
3:42:31
NeuralNine
Рет қаралды 50 М.
How To Make Money From Python - A Complete Guide
10:33
Tech With Tim
Рет қаралды 22 М.
Python + JavaScript - Full Stack App Tutorial
1:29:25
Tech With Tim
Рет қаралды 235 М.
Web Scraping 101: A Million Dollar Project Idea
13:07
Tech With Tim
Рет қаралды 572 М.