town6.views.settings ==================== .. py:module:: town6.views.settings .. autoapi-nested-parse:: The settings view, defining things like the logo or color of the org. Attributes ---------- .. autoapisummary:: town6.views.settings.FormT Functions --------- .. autoapisummary:: town6.views.settings.get_custom_settings_form town6.views.settings.custom_footer_settings_form town6.views.settings.view_town_settings town6.views.settings.town_handle_general_settings town6.views.settings.custom_handle_settings town6.views.settings.town_handle_favicon_settings town6.views.settings.town_handle_social_media_settings town6.views.settings.town_handle_links_settings town6.views.settings.town_handle_chat_settings town6.views.settings.town_handle_gever_settings town6.views.settings.town_handle_header_settings town6.views.settings.town_handle_footer_settings town6.views.settings.town_handle_module_settings town6.views.settings.town_handle_map_settings town6.views.settings.town_handle_analytics_settings town6.views.settings.town_handle_holiday_settings town6.views.settings.town_handle_ticket_settings town6.views.settings.town_handle_newsletter_settings town6.views.settings.town_preview_holiday_settings town6.views.settings.town_handle_migrate_links town6.views.settings.town_handle_link_health_check town6.views.settings.town_handle_event town6.views.settings.town_handle_api_keys town6.views.settings.town_handle_ticket_data_deletion_settings town6.views.settings.town_handle_firebase_settings town6.views.settings.handle_vat_settings town6.views.settings.town_handle_people_settings Module Contents --------------- .. py:data:: FormT .. py:function:: get_custom_settings_form(model: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, homepage_settings_form: type[FormT]) -> type[FormT] 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] .. py:function:: custom_footer_settings_form(model: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest) -> type[onegov.org.forms.settings.FooterSettingsForm] .. py:function:: view_town_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest) -> onegov.core.types.RenderData .. py:function:: 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 .. py:function:: 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 .. py:function:: 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 .. py:function:: 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 .. py:function:: town_handle_links_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.LinksSettingsForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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 .. py:function:: 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 .. py:function:: 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 .. py:function:: town_handle_footer_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.FooterSettingsForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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 .. py:function:: 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 .. py:function:: 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 .. py:function:: 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 .. py:function:: 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 .. py:function:: 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 .. py:function:: town_preview_holiday_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.HolidaySettingsForm) -> str .. py:function:: town_handle_migrate_links(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.LinkMigrationForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: town_handle_link_health_check(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.LinkHealthCheckForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: 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 .. py:function:: 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 .. py:function:: 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 .. py:function:: town_handle_firebase_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.FirebaseSettingsForm) -> onegov.core.types.RenderData | webob.Response .. py:function:: handle_vat_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.VATSettingsForm, layout: onegov.town6.layout.SettingsLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: town_handle_people_settings(self: onegov.org.models.Organisation, request: onegov.town6.request.TownRequest, form: onegov.org.forms.settings.PeopleSettingsForm) -> onegov.core.types.RenderData | webob.Response