From dfe495fbe8e360ee3b3cd8b29e55ee19d86fc9d2 Mon Sep 17 00:00:00 2001 From: Honza Král Date: Mon, 12 Oct 2009 10:16:17 +0000 Subject: [soc2009/model-validation] Merged to trunk at r11603 SECURITY ALERT: Corrected regular expressions for URL and email fields. git-svn-id: http://code.djangoproject.com/svn/django/branches/soc2009/model-validation@11617 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/request-response.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/ref/request-response.txt') diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 9df156a6f2..77d991bc1f 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -262,7 +262,7 @@ a subclass of dictionary. Exceptions are outlined here: Returns the value for the given key. If the key has more than one value, ``__getitem__()`` returns the last value. Raises - ``django.utils.datastructure.MultiValueDictKeyError`` if the key does not + ``django.utils.datastructures.MultiValueDictKeyError`` if the key does not exist. (This is a subclass of Python's standard ``KeyError``, so you can stick to catching ``KeyError``.) @@ -310,7 +310,7 @@ a subclass of dictionary. Exceptions are outlined here: >>> q = QueryDict('a=1&a=2&a=3') >>> q.items() [('a', '3')] - + .. method:: QueryDict.iteritems() Just like the standard dictionary ``iteritems()`` method. Like -- cgit v1.3