fix: make wiki link optional in admin panel
This commit is contained in:
parent
d36a84e25b
commit
6c81441f00
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue