diff options
author | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2011-07-07 22:08:20 +0200 |
---|---|---|
committer | Elrond <elrond+mediagoblin.org@samba-tng.org> | 2011-07-07 22:08:20 +0200 |
commit | 7664b4db81f1449b37c774cecb4fba4a505ae5d0 (patch) | |
tree | 1e421e1890eb06739489cf828da597552ed9289d /mediagoblin/edit/forms.py | |
parent | cca5d55d40fe5b4f097e015c72cbd8e6c4c3232a (diff) | |
download | mediagoblin-7664b4db81f1449b37c774cecb4fba4a505ae5d0.tar.lz mediagoblin-7664b4db81f1449b37c774cecb4fba4a505ae5d0.tar.xz mediagoblin-7664b4db81f1449b37c774cecb4fba4a505ae5d0.zip |
Factor setup_workbench into init submodule.
Diffstat (limited to 'mediagoblin/edit/forms.py')
-rw-r--r-- | mediagoblin/edit/forms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mediagoblin/edit/forms.py b/mediagoblin/edit/forms.py index 2efdb9e4..d5e7f0a9 100644 --- a/mediagoblin/edit/forms.py +++ b/mediagoblin/edit/forms.py @@ -31,4 +31,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')]) |