summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-03-31 13:55:03 +0000
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-03-31 13:55:03 +0000
commit9ed6e08ff99c18710c0e4875f827235f04c89d76 (patch)
tree1781a682463d7c6eb60e39408d8788c2ca3d2fce /docs/ref/models
parent800e3941c50139347ab48e6d6731d445875357ed (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/models')
-rw-r--r--docs/ref/models/fields.txt26
1 files changed, 6 insertions, 20 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 8c6a2c9d35..5521a0ed24 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -484,10 +484,10 @@ A :class:`CharField` that checks that the value is a valid email address.
.. admonition:: Incompliance to RFCs
The default 75 character ``max_length`` is not capable of storing all
- possible RFC3696/5321-compliant email addresses. In order to store all
- possible valid email addresses, a ``max_length`` of 254 is required.
- The default ``max_length`` of 75 exists for historical reasons. The
- default has not been changed in order to maintain backwards
+ possible RFC3696/5321-compliant email addresses. In order to store all
+ possible valid email addresses, a ``max_length`` of 254 is required.
+ The default ``max_length`` of 75 exists for historical reasons. The
+ default has not been changed in order to maintain backwards
compatibility with existing uses of :class:`EmailField`.
``FileField``
@@ -887,23 +887,9 @@ shortcuts.
``URLField``
------------
-.. class:: URLField([verify_exists=False, max_length=200, **options])
+.. class:: URLField([max_length=200, **options])
-A :class:`CharField` for a URL. Has one extra optional argument:
-
-.. deprecated:: 1.4
- ``verify_exists`` is deprecated for security reasons as of 1.4 and will be
- removed in Django 1.5. Prior to 1.3.1, the default value was ``True``.
-
-.. attribute:: URLField.verify_exists
-
- If ``True``, the URL given will be checked for existence (i.e.,
- the URL actually loads and doesn't give a 404 response) using a
- ``HEAD`` request. Redirects are allowed, but will not be followed.
-
- Note that when you're using the single-threaded development server,
- validating a URL being served by the same server will hang. This should not
- be a problem for multithreaded servers.
+A :class:`CharField` for a URL.
The admin represents this as an ``<input type="text">`` (a single-line input).