fsi.models.course_subscription

Module Contents

Classes

CourseSubscription

Linking table between CourseEvent and CourseAttendee.

Attributes

table_name

subscription_table

fsi.models.course_subscription.table_name = 'fsi_reservations'[source]
fsi.models.course_subscription.subscription_table[source]
class fsi.models.course_subscription.CourseSubscription[source]

Bases: onegov.core.orm.Base

Linking table between CourseEvent and CourseAttendee. This table is defined in a way such that it can be used for a secondary join in CourseEvent.attendees.

attendee_id is Null if its a placeholder subscription.

property is_placeholder: bool[source]
__table__[source]
__tablename__[source]
__mapper_args__[source]
can_be_confirmed(request: onegov.fsi.request.FsiRequest) bool[source]
__str__() str[source]

Return str(self).