mirror of
https://github.com/pallets-eco/flask-debugtoolbar.git
synced 2025-12-31 02:29:33 -06:00
1c82c2861fbba8ffa2bfcc0307a2d0aee484b783
Bumps the python-requirements group in /requirements with 4 updates: [pyright](https://github.com/RobertCraigie/pyright-python), [pytest](https://github.com/pytest-dev/pytest), [types-pygments](https://github.com/python/typeshed) and [pygments](https://github.com/pygments/pygments). Updates `pyright` from 1.1.360 to 1.1.365 - [Release notes](https://github.com/RobertCraigie/pyright-python/releases) - [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.360...v1.1.365) Updates `pytest` from 8.2.0 to 8.2.1 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.2.0...8.2.1) Updates `types-pygments` from 2.17.0.20240310 to 2.18.0.20240506 - [Commits](https://github.com/python/typeshed/commits) Updates `pygments` from 2.17.2 to 2.18.0 - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES) - [Commits](https://github.com/pygments/pygments/compare/2.17.2...2.18.0) --- updated-dependencies: - dependency-name: pyright dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-requirements - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-requirements - dependency-name: types-pygments dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-requirements - dependency-name: pygments dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-requirements ... Signed-off-by: dependabot[bot] <support@github.com>
Flask-DebugToolbar
A Flask extension that injects debugging information into rendered HTML pages. Presented as a sidebar with configurable panels of information.
This is a port of the excellent django-debug-toolbar.
Pallets Community Ecosystem
Important
This project is part of the Pallets Community Ecosystem. Pallets is the open source organization that maintains Flask; Pallets-Eco enables community maintenance of related projects. If you are interested in helping maintain this project, please reach out on the Pallets Discord server.
Example
Setting up the debug toolbar is simple:
from flask import Flask
from flask_debugtoolbar import DebugToolbarExtension
app = Flask(__name__)
app.config["SECRET_KEY"] = "<replace with a secret key>"
toolbar = DebugToolbarExtension(app)
The toolbar will automatically be injected into Jinja templates when debug mode is enabled.
$ flask -A my_app run --debug
Description
Languages
JavaScript
75.3%
Python
16.3%
HTML
5.1%
CSS
3.3%
