Merge branch 'remotes/gullydwarf-cfdv/f360_tagging' (early part) into mergetags
[mediagoblin.git] / mediagoblin / edit / forms.py
index e7a86bba295493f448cb15581bb52ef24e186d5c..a1783a726f6e0b1b7e7435dc20dda54169b7a98b 100644 (file)
@@ -24,7 +24,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')
     tags = wtforms.TextField(
         'Tags',