assembl.views package

Module contents

App URL routing and renderers are configured in this module.

Note that IdeaLoom is a hybrid app, and combines routes and traversal.

exception assembl.views.HTTPTemporaryRedirect(*args, **kwargs)[source]

Bases: pyramid.httpexceptions.HTTPTemporaryRedirect

exception assembl.views.JSONError(detail=None, error_type=None, code=400, headers=None, comment=None, body_template=None, **kw)[source]

Bases: pyramid.httpexceptions.HTTPError


Recursively looks for a theme with the provided name in the theme path folder @returns the theme path fragment relative to the theme base_path, or None if not found


get all .tmpl files from templates/views directory


@return (theme_name, theme_relative_path) the relative path is relative to the theme_base_path. See find_theme.


Initialize views and renderers at app start-up time.