# HG changeset patch # User Lennard de Rijk # Date 1232829872 0 # Node ID be5f5533a07f55135797c357eef5775787a3ed01 # Parent d45172b64f2be3164ddf2d086d651fef56f22aa5 Changed clean_url to work with dynaform. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r d45172b64f2b -r be5f5533a07f app/soc/logic/cleaning.py --- a/app/soc/logic/cleaning.py Sat Jan 24 20:17:35 2009 +0000 +++ b/app/soc/logic/cleaning.py Sat Jan 24 20:44:32 2009 +0000 @@ -102,6 +102,6 @@ return None # call the Django URLField cleaning method to properly clean/validate this field - return forms.URLField.clean(self, value) + return forms.URLField.clean(self.fields[field_name], value) return wrapped