fix: make wiki link optional in admin panel

This commit is contained in:
Dariusz Niemczyk 2024-01-14 15:29:50 +01:00
parent d36a84e25b
commit 6c81441f00
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class ModelAdminMixin(object):
class ItemForm(forms.ModelForm): class ItemForm(forms.ModelForm):
name = forms.CharField(widget=forms.TextInput()) name = forms.CharField(widget=forms.TextInput())
wiki_link = forms.CharField(widget=forms.TextInput()) wiki_link = forms.CharField(required=False, widget=forms.TextInput())
class Meta: class Meta:
model = Item model = Item