<Elrond> Oh well... Did I really have this wtforms cruft in my setup_workbench
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 9 Jul 2011 22:13:21 +0000 (17:13 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 9 Jul 2011 22:13:21 +0000 (17:13 -0500)
         commit. :-(  I don't know even, how it got in there. :-|

mediagoblin/edit/forms.py

index 0ed52af11ea4a24b6265b735197fdc9006d2d454..fdbd5c7581690dcdcea9fc2ab1ec8f38654aea94 100644 (file)
@@ -32,5 +32,4 @@ class EditProfileForm(wtforms.Form):
         [wtforms.validators.Length(min=0, max=500)])
     url = wtforms.TextField(
         'Website',
-        [wtforms.validators.Optional(),
-         wtforms.validators.URL(message='Improperly formed URL')])
+        [wtforms.validators.URL(message='Improperly formed URL')])