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',
|
||||
[wtforms.validators.Length(min=0, max=500)])
|
||||
slug = wtforms.TextField(
|
||||
'Slug')
|
||||
'Slug',
|
||||
[wtforms.validators.Required(message="The slug can't be empty")])
|
||||
description = wtforms.TextAreaField('Description of this work')
|
||||
|
||||
class EditProfileForm(wtforms.Form):
|
||||
|
Loading…
x
Reference in New Issue
Block a user