From d63d41343252f0f9fa97b37c42c56e05e19105b2 Mon Sep 17 00:00:00 2001 From: rafalp Date: Tue, 5 Dec 2023 20:32:20 +0100 Subject: [PATCH] Fix build --- misago/threads/admin/forms.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/misago/threads/admin/forms.py b/misago/threads/admin/forms.py index ab102770e5..636b54045c 100644 --- a/misago/threads/admin/forms.py +++ b/misago/threads/admin/forms.py @@ -73,7 +73,15 @@ def filter_queryset(self, criteria, queryset): class AttachmentTypeForm(forms.ModelForm): class Meta: model = AttachmentType - fields = "__all__" + fields = [ + "name", + "extensions", + "mimetypes", + "size_limit", + "status", + "limit_uploads_to", + "limit_downloads_to", + ] labels = { "name": pgettext_lazy("admin attachment type form", "Type name"), "extensions": pgettext_lazy(