Hello Coders!
In October 2021 Flask Version 2.0.2 has been released with various upgrades to the framework, improvements, and deprecations. This article is a quick overview of Flask 2.x update.
Thanks for reading!
✨ Flask 2.x Updates
Blueprints
Starting with 2.0
version Blueprints
can be nested under each other. This feature might improve the design of complex products.
Config from file
Re-add deprecated Config.from_json
, which was accidentally removed early.
Improved CLI errors
When an app could not be loaded, errors are displayed instantly when the development server is active.
FLASK_DEBUG
is deprecated
Replaced by FLASK_ENV
, a more current environment variable.
Language Detection
langdetect
package is used by default.
Improved Static files cache
- on development
Browsers will cache static files based on file content rather than a 12-hour refresh time frame.
Blueprints
Can be registered the same blueprint with different names
For more information feel free to access the official Flask v2.x release page.
✨ Starters Features
All projects are generated by AppSeed using a common set of features inherited by all starters:
Up-to-date dependencies
-
DBMS
: SQLite, PostgreSQL (production) -
DB Tools
: SQLAlchemy ORM, Flask-Migrate (schema migrations) -
Session-Based authentication
(via flask_login), Forms validation -
Deployment
: Docker, Gunicorn / Nginx, HEROKU
Free support via email and Discord - 1k+ community.
✨ Flask Datta Able
Datta Able is a Lite Admin Template, around all other Lite/Free admin templates in the market. It comes with high feature-rich pages and components with fully developer-centric code.
- 👉 Datta Able Flask - source code (MIT License)
- 👉 Datta Able Flask - LIVE deployment
The product can be compiled and started in a local environment using the Docker setup shipped with the product:
Step #1 - Download sources from Github
$ git clone https://github.com/app-generator/flask-datta-able.git
$ cd flask-datta-able
Step #2 - Start the app in Docker
$ docker-compose up --build
Once all commands are executed, we should be able to access the app in the browser, register new users, and authenticate.
✨ Flask Material Dashboard
Designed for those who like bold elements and beautiful websites, Material Dashboard 2 is ready to help you create stunning websites and web apps. Material Dashboard 2 is built with over 60 frontend individual elements, like buttons, inputs, navbars, nav tabs, cards, or alerts, giving you the freedom of choosing and combining.
- 👉 Flask Dashboard Material - source code (MIT License)
- 👉 Flask Dashboard Material - LIVE deployment
✨ Flask Soft UI Design
Soft UI Design System is a premium Bootstrap 5 UI Kit designed by Creative-Tim designed for those who like bold elements and beautiful websites.
- 👉 Soft UI Design Flask - source code (MIT License)
- 👉 Soft UI Design Flask - LIVE Demo
✨ Flask Material Kit
Designed for those who like bold elements and beautiful websites, Material Kit 2 is ready to help you create stunning websites and web apps. Material Kit 2 is built with over 60 frontend individual elements, like buttons, inputs, navbars, nav tabs, cards, or alerts, giving you the freedom of choosing and combining.
- 👉 Flask Material Kit - source code (MIT License)
- 👉 Flask Material Kit - LIVE Demo
✨ Flask DashboardKit
Open-source Flask Dashboard generated by AppSeed op top of a modern Boostrap 5 design. DashboardKit is made for everyone, no matter you are a novice developer, designer, project manager/owner.
- 👉 DashboardKit Flask - source code (MIT License)
- 👉 DashboardKit Flask - LIVE deployment
Thanks for reading! For more resources, feel free to access:
- 🎁 More Free Dashboards crafted in
React
, Django, and Flask - 🎁 Free React Dashboards - curated list published on
Dev.to
Top comments (2)
Soft UI looks great.
Thanks for sharing
🚀🚀