Python: Flask vs Django
Flask is easier to get started with and is a micro-framework like Node/Express which means that you can write a Hello, World app in seven lines of code. But as you add core functionality, it is up to you, the developer, to decide which 3rd party packages to use. This adds flexibility but also complexity.
Django requires a little more setup but takes a “batteries-included” framework. All core functionality is already built-in: user authentication, admin view, database support, etc. You don’t need to reinvent the wheel.
Ultimately I would recommend building a few quick apps in both and see which approach you prefer.
- Official Flaskr tutorial - build a microblogging site
- Flask Mega Tutorial - consensus best in-depth tutorial out there
- Official Polls tutorial - good for experienced developers, not for beginners
- Django for Beginners - build multiple apps starting with Hello, World to a message board application.
Interested in learning more Django? I’ve written 3 books!