Merge remote branch 'remotes/gullydwarf-cfdv/437_slug_shouldnt_be_empty'
This commit is contained in:
commit
83d3922b6e
@ -23,7 +23,8 @@ class EditForm(wtforms.Form):
|
|||||||
'Title',
|
'Title',
|
||||||
[wtforms.validators.Length(min=0, max=500)])
|
[wtforms.validators.Length(min=0, max=500)])
|
||||||
slug = wtforms.TextField(
|
slug = wtforms.TextField(
|
||||||
'Slug')
|
'Slug',
|
||||||
|
[wtforms.validators.Required(message="The slug can't be empty")])
|
||||||
description = wtforms.TextAreaField('Description of this work')
|
description = wtforms.TextAreaField('Description of this work')
|
||||||
|
|
||||||
class EditProfileForm(wtforms.Form):
|
class EditProfileForm(wtforms.Form):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user