Web Utility API

glashammer.utils.webbish

copyright:2007-2009-2008 by Armin Ronacher, Ali Afshar
license:MIT
class glashammer.utils.webbish.NavigationItem(title, endpoint, rule_args={}, children=None, nolink=False)
An item that contains navigation information
class glashammer.utils.webbish.Pagination(endpoint, page, per_page, total, url_args=None)
Pagination helper.
glashammer.utils.webbish.flash(msg, type='info')

Add a message to the message flash buffer.

The default message type is “info”, other possible values are “add”, “remove”, “error”, “ok” and “configure”. The message type affects the icon and visual appearance.

The flashes messages appear only in the admin interface!