Changes between Initial Version and Version 1 of Ticket #26418
- Timestamp:
- Mar 29, 2016, 11:48:54 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26418 – Description
initial v1 2 2 3 3 checking the source, it is validated twice 4 4 {{{ 5 5 class URLField(CharField): 6 ''default_validators = [validators.URLValidator()]6 default_validators = [validators.URLValidator()] 7 7 description = _("URL") 8 8 }}} 9 9 And 10 10 {{{ 11 11 def formfield(self, **kwargs): 12 12 # As with CharField, this will cause URL validation to be performed … … 15 15 'form_class': forms.URLField, 16 16 } 17 18 17 }}} 19 18 20 19 in django.core.validators.UrlValidator we find at least one of the culprits: 21 20 {{{ 22 21 schemes = ['http', 'https', 'ftp', 'ftps'] 23 22 }}} 24 23 25 24