feriennet.request
¶
Module Contents¶
Classes¶
Extends the default Morepath request with virtual host support and |
- class feriennet.request.FeriennetRequest(*args, **kwargs)[source]¶
Bases:
onegov.org.request.OrgRequest
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
- is_organiser_only() bool [source]¶
Returns true if the current user is an organiser, but not an admin.