fsi.request

Classes

FsiRequest

Extends the default Morepath request with virtual host support and

Module Contents

class fsi.request.FsiRequest(*args, **kwargs)[source]

Bases: onegov.town6.request.TownRequest

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

property attendee: CourseAttendee | None[source]
property attendee_id: UUID | None[source]
property is_editor: bool[source]

Returns true if the current user is an editor.

property is_member: bool[source]