hello, something just came up on #django and I think it's worth asking here;
turns out current URLValidator
http://code.djangoproject.com/browser/django/tags/releases/1.2.1/django/core/validators.py#L41forbids
urls without protocol however the URLField that uses it tries to add
a default "http://"; in case it's missing
http://code.djangoproject.com/browser/django/tags/releases/1.2.1/django/forms/fields.py#L526

the fix is trivial, just change the regex to make the first part optional
but I'm not sure if you'll prefer to simply drop that functionality on the
widget and reject all those urls to retain compatibility.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to