diff --git a/bookwyrm/forms.py b/bookwyrm/forms.py index cb9a1e97..865bc02f 100644 --- a/bookwyrm/forms.py +++ b/bookwyrm/forms.py @@ -440,7 +440,7 @@ class GoalForm(CustomForm): class SiteForm(CustomForm): class Meta: model = models.SiteSettings - exclude = [] + exclude = ["admin_code", "install_mode"] widgets = { "instance_short_description": forms.TextInput( attrs={"aria-describedby": "desc_instance_short_description"} diff --git a/bookwyrm/templates/settings/site.html b/bookwyrm/templates/settings/site.html index 8efad308..2ecd988e 100644 --- a/bookwyrm/templates/settings/site.html +++ b/bookwyrm/templates/settings/site.html @@ -15,6 +15,24 @@ {% endblock %} {% block panel %} +{% if success %} +