town6.views.settings

The settings view, defining things like the logo or color of the org.

Attributes

FormT

Functions

get_custom_settings_form(…)

custom_footer_settings_form(...)

view_town_settings(→ onegov.core.types.RenderData)

town_handle_general_settings(...)

custom_handle_settings(...)

town_handle_favicon_settings(...)

town_handle_social_media_settings(...)

town_handle_links_settings(...)

town_handle_chat_settings(...)

town_handle_gever_settings(...)

town_handle_header_settings(...)

town_handle_footer_settings(...)

town_handle_module_settings(...)

town_handle_map_settings(...)

town_handle_analytics_settings(...)

town_handle_holiday_settings(...)

town_handle_ticket_settings(...)

town_handle_newsletter_settings(...)

town_preview_holiday_settings(→ str)

town_handle_migrate_links(...)

town_handle_link_health_check(...)

town_handle_event(...)

town_handle_api_keys(...)

town_handle_ticket_data_deletion_settings(...)

Module Contents

town6.views.settings.FormT[source]
town6.views.settings.get_custom_settings_form(model: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, homepage_settings_form: type[FormT]) type[FormT][source]
town6.views.settings.get_custom_settings_form(model: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, homepage_settings_form: None = None) type[onegov.org.forms.settings.HomepageSettingsForm]
town6.views.settings.view_town_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest) onegov.core.types.RenderData[source]
town6.views.settings.town_handle_general_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.town6.forms.settings.GeneralSettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.custom_handle_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.HomepageSettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.town_handle_favicon_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.FaviconSettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.town_handle_social_media_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.SocialMediaSettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.town_handle_chat_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.town6.forms.settings.ChatSettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.town_handle_gever_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.GeverSettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.town_handle_header_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.HeaderSettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.town_handle_module_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.ModuleSettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.town_handle_map_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.MapSettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.town_handle_analytics_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.AnalyticsSettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.town_handle_holiday_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.HolidaySettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.town_handle_ticket_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.OrgTicketSettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.town_handle_newsletter_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.NewsletterSettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.town_preview_holiday_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.HolidaySettingsForm) str[source]
town6.views.settings.town_handle_event(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.EventSettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.town_handle_api_keys(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.OneGovApiSettingsForm) onegov.core.types.RenderData | webob.Response[source]
town6.views.settings.town_handle_ticket_data_deletion_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.DataRetentionPolicyForm) onegov.core.types.RenderData | webob.Response[source]