wtfs.views.notfication

Module Contents

Functions

view_notifications(→ onegov.core.types.RenderData)

View the list of notifications.

add_notification(→ Response | RenderData)

Create a new notification.

view_notification(→ onegov.core.types.RenderData)

View a single notification.

edit_notification(→ Response | RenderData)

Edit a notification.

delete_notification(→ None)

Delete a notification.

wtfs.views.notfication.view_notifications(self: onegov.wtfs.collections.NotificationCollection, request: onegov.core.request.CoreRequest) onegov.core.types.RenderData[source]

View the list of notifications.

wtfs.views.notfication.add_notification(self: onegov.wtfs.collections.NotificationCollection, request: onegov.core.request.CoreRequest, form: onegov.wtfs.forms.NotificationForm) Response | RenderData[source]

Create a new notification.

wtfs.views.notfication.view_notification(self: onegov.wtfs.models.Notification, request: onegov.core.request.CoreRequest) onegov.core.types.RenderData[source]

View a single notification.

wtfs.views.notfication.edit_notification(self: onegov.wtfs.models.Notification, request: onegov.core.request.CoreRequest, form: onegov.wtfs.forms.NotificationForm) Response | RenderData[source]

Edit a notification.

wtfs.views.notfication.delete_notification(self: onegov.wtfs.models.Notification, request: onegov.core.request.CoreRequest) None[source]

Delete a notification.