Django vs Flask Which framework to choose
When it comes to web development in Python, Django isn’t the only game in town. Flask is a scrappy young framework that takes a very different approach – whereas Django ships with tons of features ready and eager to be used, Flask provides a bare minimum feature-set with rock-solid extensibility and incredible flexibility. This talk, given by a web developer who has experience with both frameworks, takes a good look at the pros and cons for both Flask and Django. If you’ve ever felt that Django is too hard to learn, or too inflexible, this is the talk for you!
EVENT: DjangoCon USA, 2017
SPEAKER: David "DB" Baumgold
Outline
What is #Flask?
Historical background
#Django vs Flask
Ideological differences
Example “hello, world” websites
Database support
#DjangoORM vs #SQLAlchemy, Peewee, etc…
Non-relational databases
User model
django.contrib.auth vs Flask-Login, Flask-Principle
Django Admin vs Flask-Admin
Django apps vs Flask Blueprints
Django REST Framework & comparisons to Flask
Which is better? Depends on your use-case
PERMISSIONS: The original video was published on the DjangoCon US YouTube Channel with the Creative Commons Attribution license (reuse allowed).
ORIGINAL SOURCE: • DjangoCon US 2017 - Django vs Flask by Dav...