Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Adds warnings support to Flask-Debugtoolbar

Project description

Adds warning support for Flask-Debugtoolbar


flask-debugtoolbar-warnings is available on pypi and installable with:

pip install flask-debugtoolbar-warnings

This package supports Python 2.7, 3.4, 3.5, 3.6 (and presumably Python 3.7 and the pypy versions of these Python versions, though it is untested).


If you are installing this package outside of a virtual environment consider installing it with pip install --user rather than using sudo or adminstrator privileges to avoid installing it into your system Python.


After installing this package, register it into the flask-debugtoolbar loader by setting the DEBUG_TB_PANELS configuration variable before calling init_app on the DebugToolbar object:

app.config['DEBUG_TB_PANELS'] = [


By setting this variable it implicity disables the other panels that are enabled by default, if you wish to keep those enabled set this variable with them set as well:

app.config['DEBUG_TB_PANELS'] = [

After the first request through your application, this panel will begin intercepting all warnings that are not ignored or already filtered by being set to once or module, or have been set to error (these throw exceptions rather than pass fully through the warning machinery).

You may view these warnings in the DebugToolbar side panel under the Warnings section. The warnings panel will display the category (e.g. what kind of warning), filename, line number, message and source (if provided).

v0.1.0 (2018-06-xx)

  • Initial release.
  • Will it into existence.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flask-debugtoolbar-warnings, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size flask_debugtoolbar_warnings-0.1.0-py2.py3-none-any.whl (4.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size flask-debugtoolbar-warnings-0.1.0.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page