Flask vs django

Flask vs django

ParametersdjangoFlask
Framework typeFull stack web frameworkMicro framework
DatabaseSQL : MySQL, OracleNo SQL : mongo DB
Data modelsORM (object-relational mapping)N/A
Project sizeLarge project with  potential for growth in future.  high-load applicationsSmall and less complected project
Project layoutConventionalArbitary
Application typeFull featuredStatic
Performance Better
Flexibility & controlbuilt-in features and modules, offers far less freedom and control.minimalism and simplicity. No restrictions
SecurityCross-site scripting (XSS), Cross-site request forgery (CSRF), SQL injectionCross-site scripting (XSS), Cross-site request forgery (CSRF), SQL injection
Communityhuge active developer communitynot as big
Learning curvesteeper learning curve 
Ready to use adminYesNo
Maturityrelease in 2005release in 2010
Used byInstagram, pintrest, udemy, Dropbox, SpotifyNetflix, lyft, redit, Airbnb, Rackspace

Which framework to choose?


Performance

High

Flask

Low

Django

Size of the project

Large

Django

Small

Flask

Structure

highly customisable

Flask

Satisfied with built-in features & modules

Django

Type of project

Simple

Flask

Complex

Django

Changing Project Requirment

Dynamic

Flask

Static

Django

Codes

More lines

Django

Few lines

Flask

Time and Budget

Limited

Django

Not limited

Flask

Suitable for

Web sites/Web application

Django

Fully custom web application

Flask

django Flask Python