From 6c81441f006cf39e7f8630177b0e99cf8af4ccf4 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Sun, 14 Jan 2024 15:29:50 +0100 Subject: [PATCH] fix: make wiki link optional in admin panel --- storage/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/admin.py b/storage/admin.py index 0059145..ec6e900 100644 --- a/storage/admin.py +++ b/storage/admin.py @@ -18,7 +18,7 @@ class ModelAdminMixin(object): class ItemForm(forms.ModelForm): name = forms.CharField(widget=forms.TextInput()) - wiki_link = forms.CharField(widget=forms.TextInput()) + wiki_link = forms.CharField(required=False, widget=forms.TextInput()) class Meta: model = Item