Flask
Frontend & MobileThe Python micro framework for building web applications.
Release History
View all versions →3.1.31 fixFlask 3.1.3 is a security fix release addressing an issue where session access was not correctly tracked for key-only operations.
3.1.23 fixesFlask 3.1.2 fixes async view handling for `stream_with_context`, corrects session state with `follow_redirects` in the test client, and relaxes the `send_file` type hint.
3.1.14 fixesFlask 3.1.1 is a bug-fix release that corrects signing-key selection, improves CLI type hints, ensures the help command loads the app, and updates sans-io typing for async iterables.
Common Errors
OSError2 reportsTemplateAssertionError1 reportTemplateAssertionError in Flask usually arises when Jinja2, the templating engine, encounters an undefined variable or attribute within your HTML template. To fix this, ensure all variables used in your template are properly passed from the Flask view function, and double-check for typos in variable names within both your Python code and your HTML templates.
Related Frontend & Mobile Packages
The library for web and native user interfaces.
Flutter makes it easy and fast to build beautiful apps for mobile and beyond
The React Framework
A framework for building native applications using React
:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
Subscribe to Updates
Get notified when new versions are released