forked from wiktor/spejstore-new
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):
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue