wuttaweb.handler

Web Handler

This defines the handler for the web layer.

class wuttaweb.handler.WebHandler(config, **kwargs)[source]

Base class and default implementation for the “web” handler.

This is responsible for determining the “menu handler” and (eventually) possibly other things.

get_menu_handler(**kwargs)[source]

Get the configured “menu” handler for the web app.

Specify a custom handler in your config file like this:

[wutta.web]
menus.handler_spec = poser.web.menus:PoserMenuHandler
Returns:

Instance of MenuHandler.