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(→ RenderData | Response)

custom_handle_settings(→ RenderData | Response)

town_handle_favicon_settings(→ RenderData | Response)

town_handle_social_media_settings(→ RenderData | Response)

town_handle_links_settings(→ RenderData | Response)

town_handle_chat_settings(→ RenderData | Response)

town_handle_gever_settings(→ RenderData | Response)

town_handle_header_settings(→ RenderData | Response)

town_handle_footer_settings(→ RenderData | Response)

town_handle_module_settings(→ RenderData | Response)

town_handle_map_settings(→ RenderData | Response)

town_handle_analytics_settings(→ RenderData | Response)

town_handle_holiday_settings(→ RenderData | Response)

town_handle_ticket_settings(→ RenderData | Response)

town_handle_newsletter_settings(→ RenderData | Response)

town_preview_holiday_settings(→ str)

town_handle_migrate_links(→ RenderData | Response)

town_handle_link_health_check(→ RenderData | Response)

town_handle_event(→ RenderData | Response)

town_handle_api_keys(→ RenderData | Response)

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) RenderData | Response[source]
town6.views.settings.custom_handle_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.HomepageSettingsForm) RenderData | 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) RenderData | 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) RenderData | 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) RenderData | 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) RenderData | 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) RenderData | 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) RenderData | 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) RenderData | 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) RenderData | 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) RenderData | 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) RenderData | 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) RenderData | 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) RenderData | 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) RenderData | 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) RenderData | Response[source]