aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit/forms.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-07-09 17:16:18 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-07-09 17:16:18 -0500
commit3054e2b3cb08839aca7da2e1c5b4cce1768bf705 (patch)
treeeb3df5b85c973e3ce080cb1188cb5713bb79d058 /mediagoblin/edit/forms.py
parentf4cd7a4ade374bdace27d8f0216f36c96c652efc (diff)
downloadmediagoblin-3054e2b3cb08839aca7da2e1c5b4cce1768bf705.tar.lz
mediagoblin-3054e2b3cb08839aca7da2e1c5b4cce1768bf705.tar.xz
mediagoblin-3054e2b3cb08839aca7da2e1c5b4cce1768bf705.zip
Sorry, that OptionalField belonged there.
I am a bad person and am not allowed to commit anything else today.
Diffstat (limited to 'mediagoblin/edit/forms.py')
-rw-r--r--mediagoblin/edit/forms.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mediagoblin/edit/forms.py b/mediagoblin/edit/forms.py
index fdbd5c75..0ed52af1 100644
--- a/mediagoblin/edit/forms.py
+++ b/mediagoblin/edit/forms.py
@@ -32,4 +32,5 @@ class EditProfileForm(wtforms.Form):
[wtforms.validators.Length(min=0, max=500)])
url = wtforms.TextField(
'Website',
- [wtforms.validators.URL(message='Improperly formed URL')])
+ [wtforms.validators.Optional(),
+ wtforms.validators.URL(message='Improperly formed URL')])