Skip to content

Commit

Permalink
[3.0.x] Clarified that ValueError raised by converter.to_python() mea…
Browse files Browse the repository at this point in the history
…ns no match unless another URL pattern matches.

Backport of 196009c from master
  • Loading branch information
jcushman authored and felixxm committed Jan 8, 2020
1 parent 0379da5 commit b11761e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/http/urls.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b11761e

Please sign in to comment.