Description
DjangoCon US 2017 - Django vs Flask by David "DB" Baumgold
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!
Outline
What is Flask? Historical background
Django vs Flask Ideological differences Example “hello, world” websites
Database support Django ORM 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