Should I start with Django or Flask? [Knock Q&A]

preview_player
Показать описание
Up vote your favorites.

The long term goal: build a search engine of technical and non-technical questions with concise video responses. The more questions that we get, the more answers we can research and respond with.

Рекомендации по теме
Комментарии
Автор

In other words, "I've never used Flask, but Django is more popular, so it has to be better." Great argument

davidjenkins
Автор

Django is #1, undisputed!
However, coming from a UI Design background, my advice is if you have little to no experience with programming, Django might be a bit too much for you to handle. I started with Django at first, and it was just complex to comprehend the front-end/back-end client/server ecosystem. I had to suspend learning Django and search for something simpler. Flask was the obvious answer, as Flask is a micro-framework that will simplify for you how a Python web framework works. Now that I have studied Flask well enough to create a practical useful web app, my next step is to go big with Django, this time God willing with more confident steps. Thank you, Justin, for providing such rich learning platform.

bashargh.
Автор

In my personal experience, flask it's a great framework to start once you're involved with python then you've understood how view-templates work and 1 or 2 projects more, you can jump to Django with 60% in advance, it'll be easier to up and running with.

packoive
Автор

Learn to walk before you start running. Start with Flask then Django.

painkillerDELHI
Автор

You make a fairly valid argument for a question that doesn't have all that much validity. Are you new to Python programming and want to begin with a web oriented project? I would argue that Flask's barebones approach allows for a much quicker appreciation for what is at the core of any MVC type framework. Furthermore, Flask projects seem to, because of the nature of of the web framework, allow the user to interact with tasks like developing their own authentication system, database connections, or an admin page. The validity of Flask doesn't just extend from being a good learning tool, it is fast, allows for rapid development, and is appropriate for projects that are small in scope.

In my opinion, the general scope of this question leads to an answer that is going to have widely varying amounts of success. Without considering A) The type of project the learner wants to pursue and B) The level of skill of the programmer trying to learn a Python web framework, it's difficult to provide an answer that's going to apply to a specific person.

paranoidpenguin
Автор

I think the person who had asked this question for someone who is new to Python which should he pick Flask or DJango, didn't get his question answered. The person of the video just mentioned about how he teaches DJango and how you can find many resources for DJango. That is all great and it is very important but he never answered the question. Which one is easier for beginners to start off with.
Reading from the post below I got the answer and that is Flask is easier to use versus DJango for beginners. Thank's to those who posted this answer on this page.

DevlogBill
Автор

The main benefit of Flask (imo of course) is for building out web applications that do not have a ton of requirements, namely rest APIs.

jodylecompte
Автор

Flask is the mini Django. Its a good starter tool to help gain ground on how django works. It did for me.

suburbanblackboyradio
Автор

Flask for learning the basics of back end, Django once you know what you're doing.

immortaljanus
Автор

Might lean towards Django myself, was having trouble setting up db migrations in flask but in Django its ready to go. Might sound like a silly reason but i read a good statement from an experienced Dev who said Django provides a great structure developed by very smart people so thats good enough a reason for me.

lardosian
Автор

Please make a video for filter, sort and paginate using Ajax in Django.

sujatabehl
Автор

One line... Inversion Of Control.. (period)

Django is a Framework.. Where you don't have much control.. Its like a plug in thing where you just put your code in already defined code blocks.. Okay.
While flask is a Library where you've the control, you have to write the majority of code here..
Crystal Clear Now..?

niteshbabu
Автор

I completely agree with your video. I have been working on a website for 6 months now for an academic research project and flask was beautiful at first, but it is a maze now and lacks tutorials for AJAX integration. I am literally starting over with Django in order to finish my project. I wish I saw your video sooner.

troysincomb
Автор

Sir teach flask, it is nowadays used in IT companies than django .

sanandapodder
Автор

If you teach Django and have a general interest in Python (at least and since you teach Django I am assuming a great interest) then it doesn't hurt to use Flask for at most a week to be able to better answer this question.

wandrfire
Автор

With all due respect, you are not qualified to answer this.
A good person to answer this question is one that is fluent in both.
You are not.
You could've at least done some research on Flask. Or done a bit of a creative work where you argue for Django and another person you trust argue for Flask.

atlantis_expedition_member
Автор

Django is well and good, but I just love Flask and it's customizability and lightweight(ness?) and I can't do anything about it :D

socketbyte
Автор

For Blockchain is there any framework available in Python? How to develop Dapps via Python??

bellpepper
Автор

is django still has the popularity in market as backend framework? i mean in general

oaabk
Автор

django is perfect with rdbms such as mysql, but for nosql, flask seems to be more flexible and customizable?

Zwwiter
join shbcf.ru