Note should not be a required field
This commit is contained in:
parent
d8444cec60
commit
74f3a92cdd
1 changed files with 1 additions and 4 deletions
|
@ -37,10 +37,7 @@ class AddItemForm(ModelForm):
|
||||||
widget=forms.widgets.TextInput(attrs={'size': 35})
|
widget=forms.widgets.TextInput(attrs={'size': 35})
|
||||||
)
|
)
|
||||||
|
|
||||||
# note = forms.CharField(
|
note = forms.CharField(widget=forms.Textarea(), required=False)
|
||||||
# widget=forms.TextArea(attrs={'size': 35})
|
|
||||||
# )
|
|
||||||
note = forms.CharField(widget=forms.Textarea())
|
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Item
|
model = Item
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue