diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-07-06 22:35:19 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-07-06 22:35:19 -0500 |
commit | 0f7dc0b4a9ad8b51dada3a034bb9276fa1775380 (patch) | |
tree | 7c2ae5684eee7d85c22b790f6491881f1b221672 | |
parent | d22a9ae86d601067fb5333fb71cd385359c92131 (diff) | |
parent | 20d82d604620c8aa885ba0f8109a1a1d3dd6632d (diff) | |
download | mediagoblin-0f7dc0b4a9ad8b51dada3a034bb9276fa1775380.tar.lz mediagoblin-0f7dc0b4a9ad8b51dada3a034bb9276fa1775380.tar.xz mediagoblin-0f7dc0b4a9ad8b51dada3a034bb9276fa1775380.zip |
Merge remote branch 'remotes/gullydwarf-cfdv/b429_fix_edit_profile_form_validation'
-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')]) |