Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalp committed Dec 5, 2023
1 parent 1bc58e6 commit d63d413
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion misago/threads/admin/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d63d413

Please sign in to comment.