fsi.models.course_notification_template
Attributes
Classes
This is kind of a dummy db model for using as the template for |
|
Functions
|
|
|
|
|
Module Contents
- type fsi.models.course_notification_template.NotificationType = Literal['info', 'reservation', 'reminder', 'cancellation'][source]
- fsi.models.course_notification_template.NOTIFICATION_TYPES: tuple[NotificationType, ...] = ('info', 'reservation', 'reminder', 'cancellation')[source]
- fsi.models.course_notification_template.template_type_choices(request: onegov.fsi.request.FsiRequest | None = None) tuple[tuple[str, str], ...][source]
- fsi.models.course_notification_template.get_template_default(context: Any, type: str | None = None) str[source]
- fsi.models.course_notification_template.template_name(type: NotificationType | Literal['invitation'], request: onegov.fsi.request.FsiRequest | None = None) str[source]
- class fsi.models.course_notification_template.CourseInvitationTemplate[source]
This is kind of a dummy db model for using as the template for CourseInviteMailLayout. If needed, this can be replaced with a real model without changing too much code.
- class fsi.models.course_notification_template.CourseNotificationTemplate[source]
Bases:
onegov.core.orm.Base,onegov.core.orm.mixins.ContentMixin,onegov.core.orm.mixins.TimestampMixin- course_event: sqlalchemy.orm.Mapped[fsi.models.course_event.CourseEvent][source]
- class fsi.models.course_notification_template.InfoTemplate[source]
Bases:
CourseNotificationTemplate
- class fsi.models.course_notification_template.SubscriptionTemplate[source]
Bases:
CourseNotificationTemplate
- class fsi.models.course_notification_template.ReminderTemplate[source]
Bases:
CourseNotificationTemplate
- class fsi.models.course_notification_template.CancellationTemplate[source]
Bases:
CourseNotificationTemplate