H
H
hey_umbrella2021-11-19 11:02:03
Django
hey_umbrella, 2021-11-19 11:02:03

Which is better Flask or Django?

I will write a project similar to github, but for another area, in short, what is better to use? I heard a lot of good things about django, and what is better to write on it, can you help me with the choice? I like flask much more, although it is a microframework, it is much more convenient in my opinion.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Gornostaev, 2021-11-19
@sergey-gornostaev

Which is better Chevrolet Silverado pickup or Nissan Skyline GT-R coupe?

R
Roman Kitaev, 2021-11-19
@deliro

There are exactly zero reasons to use Flask in 2021 for new projects.
Unlike dzhanga, flask does not have a bunch of useful features that you can kick and start quickly.
Unlike fastapi, flask does not have typing, DI, and fair asynchrony (it is the same as dzhanga - per view)
Flask has a fundamental game like global scope request

P
pcdesign, 2021-11-20
@pcdesign

1) Flask is faster than django
2) Flask has all the necessary libraries
3) Flask doesn't carry around a bunch of useless batteries

Z
Zanak, 2021-11-20
@Zanak

Each framework has its own community that will drown for it.
The only difference between Junga and many, if not all, frameworks is the presence of an out-of-the-box admin panel (in my opinion, a typical admin panel is enough, and if your project implies ample opportunities for administration, then it’s better not to consider this point). If the admin panel is not relevant, for example, you write a clean api and remove all client-side rendering, then the choice expands greatly and flask with django becomes one of the possible options.
There are no mega-global differences between subject frameworks in terms of convenience, availability of information, ready-made modules, or community responsiveness in general. They say that flask is faster, but I haven't measured it myself, so I can't say for sure.
Choose what is closer to you, and more suitable for solving your particular problem and go ahead.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question