﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
13613	forms.URLField not default ModelForm URLField anymore	amadison	nobody	"Looks like with Changeset 11456 the ModelForm URLField stopped using the forms.FormField as it's default form field. Now it just uses a regular CharField but adds the validators.URLValidator.

There are two important things that were lost when this happened. 
1. the ModelForm does not add on the 'http://' if it is not present, so 'www.google.com' is an invalid url when using a ModelForm, but not a regular form. 
2. The error message on an invalid url is now the generic 'Enter a valid value.' instead of the more helpful 'Enter a valid URL.'.

Attached is a diff for making the ModelForm URLField use the default forms.URLField again as the docs describe [http://docs.djangoproject.com/en/dev/topics/forms/modelforms/#field-types here]

I think this will make the validator run twice, but I think that's probably ok.

"		closed	Forms	1.2		fixed	ModelForm URLField		Unreviewed	1	0	0	0	0	0
