Skip to content

nickolaylavrinenko/iktomi-toolbar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Iktomi Debug-toolbar

This is a port of flask-debug-toolbar for Iktomi applications. If enabled, the toolbar will automatically be injected into Jinja templates.

Usage

You can attach the toolpar to an application by chaining it before one:

app = iktomi.toolbar.handler() | app

To enable the toolbar, set following variable in your development cfg.py:

IKTOMI_TOOLBAR = True

Panels (by default enabled all):

IKTOMI_TOOLBAR_PANELS = (
  'iktomi.toolbar.panels.sqla',  # sqlalchemy queries
  'iktomi.toolbar.panels.logger',  # logging messages from view
  'iktomi.toolbar.panels.headers',  # headers of request
  'iktomi.toolbar.panels.request',  # request information
  'iktomi.toolbar.panels.timer',  # time of request
  'iktomi.toolbar.panels.versions'  # versions of few installed libraries
)

About

Debug toolbar for iktomi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published