Github icon Twitter icon Facebook Globe

Django vs Flask

Tuesday 5:00pm, Ballroom A

About This Talk

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!


  • 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
Photo of

David "DB" Baumgold

DB is a freelance web developer living in the Boston area. He loves Python for its simplicity, its clarity, and its community – especially in welcoming beginners. In addition to Python, he also enjoys Javascript, databases, design, teaching, and learning. He genuinely believes that everything will work out alright in the end, somehow.