﻿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
32954	Improve error message with URLValidator and schemes	tomdjango	nobody	"If you limit the schemes for a URL to a subset of legal values with URLValidator, like this:

    url = models.URLField(max_length=200, validators=[URLValidator([""http"",""https""])])

And then enter a value URL starting with ""ftp://"", the error message given is

    Enter a valid URL.

The URL is valid, so this does not give the user useful information for fixing the problem.  Something like

    URL must begin with one of [http, https]

would be more helpful."	Cleanup/optimization	closed	Uncategorized	3.2	Normal	wontfix	error message		Unreviewed	0	0	0	0	0	0
