swissvotes.request

Classes

SwissvotesRequest

Extends the default Morepath request with virtual host support and

Module Contents

class swissvotes.request.SwissvotesRequest(*args, **kwargs)[source]

Bases: onegov.core.request.CoreRequest

Extends the default Morepath request with virtual host support and other useful methods.

Virtual hosting might be supported by Morepath directly in the future: https://github.com/morepath/morepath/issues/185

app: onegov.swissvotes.app.SwissvotesApp[source]

morepath.App instance currently handling request.