Dmitry Ishutkin d886f5a606 add hosts setting
app.config['DEBUG_TB_HOSTS']

Example: app.config['DEBUG_TB_HOSTS'] = ( '127.0.0.1', '::1' )

If the request’s REMOTE_ADDR is not in this list, the toolbar will not
be displayed and the exception handler will not be active. This should
be a tuple. Default: (). Empty list remains backward compatibility. If
DEBUG_TB_HOSTS not specified in app.config, the debug toolbar is shown
for all addresses.
2011-09-30 18:30:56 +08:00
2011-09-30 18:30:56 +08:00
2011-09-30 18:30:56 +08:00
2011-02-03 21:45:46 +01:00
2011-02-24 21:56:18 +01:00
2011-02-04 08:53:41 +01:00
2011-02-24 21:56:18 +01:00

Flask Debug-toolbar

A port of the django-debug toolbar (github.com/robhudson/django-debug-toolbar)
to Flask.

Usage::

 from flask import Flask
 from flaskext.debugtoolbar import DebugToolbarExtension

 app = Flask(__name__)
 toolbar = DebugToolbarExtension(app)
Description
A toolbar overlay for debugging Flask applications
Readme 1.9 MiB
Languages
JavaScript 75.3%
Python 16.3%
HTML 5.1%
CSS 3.3%