From e7a0c3e421d2e851d7a2efdc2e2690f1b77144f3 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sun, 4 Dec 2022 18:07:17 -0800 Subject: [PATCH] Fixes bug that caused imports to be disabled unexpectedly --- bookwyrm/forms/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/forms/admin.py b/bookwyrm/forms/admin.py index ae15e011b..2d69ef702 100644 --- a/bookwyrm/forms/admin.py +++ b/bookwyrm/forms/admin.py @@ -55,7 +55,7 @@ class CreateInviteForm(CustomForm): class SiteForm(CustomForm): class Meta: model = models.SiteSettings - exclude = ["admin_code", "install_mode"] + exclude = ["admin_code", "install_mode", "imports_enabled"] widgets = { "instance_short_description": forms.TextInput( attrs={"aria-describedby": "desc_instance_short_description"}