summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Cushman <jcushman@law.harvard.edu>2019-12-21 13:09:47 -0500
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-01-08 11:20:57 +0100
commitb11761e3cc29d9e4ef39f76cfd7c3871d3f6d82a (patch)
treee54b63666dc8630e720c7ebf06e7e95a9ad262dd
parent0379da59bd82cde35f6bd1a4d4554482616b5114 (diff)
[3.0.x] Clarified that ValueError raised by converter.to_python() means no match unless another URL pattern matches.
Backport of 196009c72c7144f25bc5e4029ef519db0190bb89 from master
-rw-r--r--docs/topics/http/urls.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt
index a850e3c35f..ef9d4c007c 100644
--- a/docs/topics/http/urls.txt
+++ b/docs/topics/http/urls.txt
@@ -153,7 +153,7 @@ A converter is a class that includes the following:
string into the type that should be passed to the view function. It should
raise ``ValueError`` if it can't convert the given value. A ``ValueError`` is
interpreted as no match and as a consequence a 404 response is sent to the
- user.
+ user unless another URL pattern matches.
* A ``to_url(self, value)`` method, which handles converting the Python type
into a string to be used in the URL.