DEV Community

Cover image for Flask 2.x Release - With Free Samples
Sm0ke
Sm0ke

Posted on • Originally published at blog.appseed.us

Flask 2.x Release - With Free Samples

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.

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
Enter fullscreen mode Exit fullscreen mode

Step #2 - Start the app in Docker

$ docker-compose up --build 
Enter fullscreen mode Exit fullscreen mode

Once all commands are executed, we should be able to access the app in the browser, register new users, and authenticate.


Flask 2.x Datta Able - GIF animated presentation.


✨ 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 2.x Material Dashboard - Charts Page


✨ 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.


Flask 2.x Soft UI Design - Open-Source Starter


✨ 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 2.x Material Kit - Bootstrap 5 Design.


✨ 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.


Flask 2.x DashboardKit - Bootstrap 5 Design.


Thanks for reading! For more resources, feel free to access:


Top comments (2)

Collapse
 
crearesite profile image
WebsiteMarket

Soft UI looks great.
Thanks for sharing

Collapse
 
sm0ke profile image
Sm0ke

🚀🚀