Fixes bug that caused imports to be disabled unexpectedly

This commit is contained in:
Mouse Reeve 2022-12-04 18:07:17 -08:00
parent 117b86fdc0
commit e7a0c3e421

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"}