Skip to content

Commit

Permalink
Merge pull request #996 from maykinmedia/fix/2065-config-typo
Browse files Browse the repository at this point in the history
[#2065] Fix typo ('SiteConfigurationAdmin' misspelled)
  • Loading branch information
alextreme authored Jan 30, 2024
2 parents 15a7442 + d634260 commit 16f3ad7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/open_inwoner/configurations/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class SiteConfigurationPageInline(OrderedTabularInline):
autocomplete_fields = ("flatpage",)


class SiteConfigurarionAdminForm(forms.ModelForm):
class SiteConfigurationAdminForm(forms.ModelForm):
class Meta:
model = SiteConfiguration
fields = "__all__"
Expand Down Expand Up @@ -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 = (
(
Expand Down Expand Up @@ -284,7 +284,7 @@ class SiteConfigurarionAdmin(OrderedInlineModelAdminMixin, SingletonModelAdmin):
(_("Social media"), {"fields": ("display_social",)}),
)
inlines = [SiteConfigurationPageInline]
form = SiteConfigurarionAdminForm
form = SiteConfigurationAdminForm

readonly_fields = [
"extra_css_allowed",
Expand Down

0 comments on commit 16f3ad7

Please sign in to comment.