Clarified that ValueError raised by converter.to_python() means no match unless another URL pattern matches.

This commit is contained in:
Jack Cushman 2019-12-21 13:09:47 -05:00 committed by Mariusz Felisiak
parent ffcf1a8ebf
commit 196009c72c
1 changed files with 1 additions and 1 deletions

View File

@ -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.