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
- TDD Flaskr - A test-driven approach to the same microblogging site built in the official tutorial
- Test-Driven Development with Python, Flask, and Docker - A well-written, dedicated course on web development with Flask and Docker.
- Build a SASS App with Flask - Very in-depth video course building a real-world Flask with Docker app that accepts payments.