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 10:55:06 +0100
commit196009c72c7144f25bc5e4029ef519db0190bb89 (patch)
treeb7141adf1dda206a96659aee435fb4b068258f14
parentffcf1a8ebfbdc8e3afac84aed88d6ed29a57c72b (diff)
downloaddjango-196009c72c7144f25bc5e4029ef519db0190bb89.tar.gz
Clarified that ValueError raised by converter.to_python() means no match unless another URL pattern matches.
-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.