diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-03-31 13:55:03 +0000 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-03-31 13:55:03 +0000 |
| commit | 9ed6e08ff99c18710c0e4875f827235f04c89d76 (patch) | |
| tree | 1781a682463d7c6eb60e39408d8788c2ca3d2fce /docs/ref/forms | |
| parent | 800e3941c50139347ab48e6d6731d445875357ed (diff) | |
Removed deprecated URLField.verify_exists.
The deprecation schedule was slightly accelerated because of possible security ramifications.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/forms')
| -rw-r--r-- | docs/ref/forms/fields.txt | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index fc8665b252..4956a71b44 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -789,7 +789,7 @@ For each field, we describe the default widget used if you don't specify * Empty value: ``''`` (an empty string) * Normalizes to: A Unicode object. * Validates that the given value is a valid URL. - * Error message keys: ``required``, ``invalid``, ``invalid_link`` + * Error message keys: ``required``, ``invalid`` Takes the following optional arguments: @@ -798,20 +798,6 @@ For each field, we describe the default widget used if you don't specify These are the same as ``CharField.max_length`` and ``CharField.min_length``. - .. attribute:: verify_exists - - If ``True``, the validator will attempt to load the given URL, raising - ``ValidationError`` if the page gives a 404. Defaults to ``False``. - - .. deprecated:: 1.4 - ``verify_exists`` was deprecated for security reasons and will be removed in - Django 1.5. This deprecation also removes ``validator_user_agent``. - - .. attribute:: validator_user_agent - - String used as the user-agent used when checking for a URL's existence. - Defaults to the value of the :setting:`URL_VALIDATOR_USER_AGENT` setting. - .. versionchanged:: 1.2 The URLField previously did not recognize URLs as valid that contained an IDN (Internationalized Domain Name; a domain name containing unicode characters) |
