swissvotes.request

Module Contents

Classes

SwissvotesRequest

Extends the default Morepath request with virtual host support and

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