From d634260fbb8bb60f79ada3b940766210fb8034fb Mon Sep 17 00:00:00 2001 From: Paul Schilling Date: Mon, 29 Jan 2024 16:26:04 +0100 Subject: [PATCH] [#2065] Fix typo ('SiteConfigurationAdmin' misspelled) --- src/open_inwoner/configurations/admin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/open_inwoner/configurations/admin.py b/src/open_inwoner/configurations/admin.py index db46851260..a6e285e76d 100644 --- a/src/open_inwoner/configurations/admin.py +++ b/src/open_inwoner/configurations/admin.py @@ -82,7 +82,7 @@ class SiteConfigurationPageInline(OrderedTabularInline): autocomplete_fields = ("flatpage",) -class SiteConfigurarionAdminForm(forms.ModelForm): +class SiteConfigurationAdminForm(forms.ModelForm): class Meta: model = SiteConfiguration fields = "__all__" @@ -110,7 +110,7 @@ def clean_redirect_to(self): @admin.register(SiteConfiguration) -class SiteConfigurarionAdmin(OrderedInlineModelAdminMixin, SingletonModelAdmin): +class SiteConfigurationAdmin(OrderedInlineModelAdminMixin, SingletonModelAdmin): save_on_top = True fieldsets = ( ( @@ -284,7 +284,7 @@ class SiteConfigurarionAdmin(OrderedInlineModelAdminMixin, SingletonModelAdmin): (_("Social media"), {"fields": ("display_social",)}), ) inlines = [SiteConfigurationPageInline] - form = SiteConfigurarionAdminForm + form = SiteConfigurationAdminForm readonly_fields = [ "extra_css_allowed",