equal
deleted
inserted
replaced
100 # LinkProperty does not accept the empty string so we must return None |
100 # LinkProperty does not accept the empty string so we must return None |
101 if not value or value == u'': |
101 if not value or value == u'': |
102 return None |
102 return None |
103 |
103 |
104 # call the Django URLField cleaning method to properly clean/validate this field |
104 # call the Django URLField cleaning method to properly clean/validate this field |
105 return forms.URLField.clean(self, value) |
105 return forms.URLField.clean(self.fields[field_name], value) |
106 return wrapped |
106 return wrapped |
107 |
107 |