aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/submit/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/submit/forms.py')
-rw-r--r--mediagoblin/submit/forms.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mediagoblin/submit/forms.py b/mediagoblin/submit/forms.py
index f02c95a6..9b35a8c3 100644
--- a/mediagoblin/submit/forms.py
+++ b/mediagoblin/submit/forms.py
@@ -28,3 +28,6 @@ class SubmitStartForm(wtforms.Form):
tags = wtforms.TextField(
'Tags',
[tag_length_validator])
+ attachment = wtforms.FileField(
+ 'Attachment',
+ [wtforms.validators.Optional()])