Merge pull request #2473 from bookwyrm-social/imports-bug

Fixes bug that caused imports to be disabled unexpectedly
This commit is contained in:
Mouse Reeve 2022-12-04 18:16:40 -08:00 committed by GitHub
commit 18d1adf24a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ class CreateInviteForm(CustomForm):
class SiteForm(CustomForm): class SiteForm(CustomForm):
class Meta: class Meta:
model = models.SiteSettings model = models.SiteSettings
exclude = ["admin_code", "install_mode"] exclude = ["admin_code", "install_mode", "imports_enabled"]
widgets = { widgets = {
"instance_short_description": forms.TextInput( "instance_short_description": forms.TextInput(
attrs={"aria-describedby": "desc_instance_short_description"} attrs={"aria-describedby": "desc_instance_short_description"}