Sorry, that OptionalField belonged there.

I am a bad person and am not allowed to commit anything else today.
This commit is contained in:
Christopher Allan Webber 2011-07-09 17:16:18 -05:00
parent f4cd7a4ade
commit 3054e2b3cb

View File

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