Merge remote branch 'remotes/gullydwarf-cfdv/b429_fix_edit_profile_form_validation'

This commit is contained in:
Christopher Allan Webber 2011-07-06 22:35:19 -05:00
commit 0f7dc0b4a9

View File

@ -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')])