restish.page

Page resource.

class restish.page.Element
Bases: restish.page.ElementMixin, object
class restish.page.ElementMixin

Bases: object

element(request, name)

Locate an element by name.

The element is cached for the duration of the request to ensure that the same object is returned if the element is located again later.

exception restish.page.ElementNotFound
Bases: exceptions.Exception
class restish.page.Page
Bases: restish.page.ElementMixin, restish.resource.Resource
restish.page.element(name)
Decorator to mark a method as an element factory.

This Page

Quick search