Corrected documentation inconsistencies regarding deprecation of URLField.verify_exists.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16776 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Carl Meyer 2011-09-10 03:26:13 +00:00
parent eaea9deca8
commit 84e0055e8d
3 changed files with 10 additions and 11 deletions

View File

@ -115,10 +115,6 @@ their deprecation, as per the :ref:`deprecation policy
beyond that of a simple ``TextField`` since the removal of oldforms. beyond that of a simple ``TextField`` since the removal of oldforms.
All uses of ``XMLField`` can be replaced with ``TextField``. All uses of ``XMLField`` can be replaced with ``TextField``.
* ``django.db.models.fields.URLField.verify_exists`` has been
deprecated due to intractable security and performance
issues. Validation behavior has been removed in 1.4, and the
argument will be removed in 1.5.
1.5 1.5
--- ---
@ -185,6 +181,10 @@ their deprecation, as per the :ref:`deprecation policy
required to end with a trailing slash to ensure there is a consistent required to end with a trailing slash to ensure there is a consistent
way to combine paths in templates. way to combine paths in templates.
* ``django.db.models.fields.URLField.verify_exists`` was deprecated in 1.4
due to intractable security and performance issues. The argument will be
removed in 1.5.
1.6 1.6
--- ---

View File

@ -799,10 +799,10 @@ Takes the following optional arguments:
If ``True``, the validator will attempt to load the given URL, raising If ``True``, the validator will attempt to load the given URL, raising
``ValidationError`` if the page gives a 404. Defaults to ``False``. ``ValidationError`` if the page gives a 404. Defaults to ``False``.
.. deprecated:: 1.3.1 .. deprecated:: 1.4
``verify_exists`` was deprecated for security reasons and will be ``verify_exists`` was deprecated for security reasons and will be removed in
removed in 1.4. This deprecation also removes ``validator_user_agent``. Django 1.5. This deprecation also removes ``validator_user_agent``.
.. attribute:: URLField.validator_user_agent .. attribute:: URLField.validator_user_agent

View File

@ -876,11 +876,10 @@ shortcuts.
A :class:`CharField` for a URL. Has one extra optional argument: A :class:`CharField` for a URL. Has one extra optional argument:
.. deprecated:: 1.3.1 .. deprecated:: 1.4
``verify_exists`` is deprecated for security reasons as of 1.3.1 ``verify_exists`` is deprecated for security reasons as of 1.4 and will be
and will be removed in 1.4. Prior to 1.3.1, the default value was removed in Django 1.5. Prior to 1.3.1, the default value was ``True``.
``True``.
.. attribute:: URLField.verify_exists .. attribute:: URLField.verify_exists