election_day.views.manage.subscribers

Functions

view_sms_subscribers(→ onegov.core.types.RenderData)

View a list with all SMS subscribers.

view_email_subscribers(→ onegov.core.types.RenderData)

View a list with all email subscribers.

export_sms_subscribers(→ onegov.core.types.RenderData)

Export all SMS subscribers as a CSV.

export_email_subscribers(→ onegov.core.types.RenderData)

Export all email subscribers as a CSV.

handle_cleanup_subscribers(→ RenderData | Response)

cleanup_sms_subscribers(→ RenderData | Response)

Deletes a list of SMS subscribers.

cleanup_email_subscribers(→ RenderData | Response)

Deletes a list of email subscribers.

delete_subscriber(→ RenderData | Response)

Delete a single subscriber.

activate_subscriber(→ RenderData | Response)

Activate a single subscriber.

deactivate_subscriber(→ RenderData | Response)

Deactivate a single subscriber.

Module Contents

election_day.views.manage.subscribers.view_sms_subscribers(self: onegov.election_day.collections.SmsSubscriberCollection, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View a list with all SMS subscribers.

election_day.views.manage.subscribers.view_email_subscribers(self: onegov.election_day.collections.EmailSubscriberCollection, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View a list with all email subscribers.

election_day.views.manage.subscribers.export_sms_subscribers(self: onegov.election_day.collections.SmsSubscriberCollection, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

Export all SMS subscribers as a CSV.

election_day.views.manage.subscribers.export_email_subscribers(self: onegov.election_day.collections.EmailSubscriberCollection, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

Export all email subscribers as a CSV.

election_day.views.manage.subscribers.handle_cleanup_subscribers(collection: onegov.election_day.collections.EmailSubscriberCollection | onegov.election_day.collections.SmsSubscriberCollection, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.SubscribersCleanupForm) RenderData | Response[source]
election_day.views.manage.subscribers.cleanup_sms_subscribers(self: onegov.election_day.collections.SmsSubscriberCollection, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.SubscribersCleanupForm) RenderData | Response[source]

Deletes a list of SMS subscribers.

election_day.views.manage.subscribers.cleanup_email_subscribers(self: onegov.election_day.collections.EmailSubscriberCollection, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.SubscribersCleanupForm) RenderData | Response[source]

Deletes a list of email subscribers.

election_day.views.manage.subscribers.delete_subscriber(self: onegov.election_day.models.Subscriber, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) RenderData | Response[source]

Delete a single subscriber.

election_day.views.manage.subscribers.activate_subscriber(self: onegov.election_day.models.Subscriber, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) RenderData | Response[source]

Activate a single subscriber.

election_day.views.manage.subscribers.deactivate_subscriber(self: onegov.election_day.models.Subscriber, request: onegov.election_day.request.ElectionDayRequest, form: onegov.election_day.forms.EmptyForm) RenderData | Response[source]

Deactivate a single subscriber.