Sorry, that OptionalField belonged there.
I am a bad person and am not allowed to commit anything else today.
This commit is contained in:
parent
f4cd7a4ade
commit
3054e2b3cb
@ -32,4 +32,5 @@ class EditProfileForm(wtforms.Form):
|
|||||||
[wtforms.validators.Length(min=0, max=500)])
|
[wtforms.validators.Length(min=0, max=500)])
|
||||||
url = wtforms.TextField(
|
url = wtforms.TextField(
|
||||||
'Website',
|
'Website',
|
||||||
[wtforms.validators.URL(message='Improperly formed URL')])
|
[wtforms.validators.Optional(),
|
||||||
|
wtforms.validators.URL(message='Improperly formed URL')])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user