1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #30995 -- Allowed converter.to_url() to raise ValueError to indicate no match.

This commit is contained in:
Jack Cushman
2019-12-21 13:22:18 -05:00
committed by Mariusz Felisiak
parent ceecd0556d
commit eb629f4c02
5 changed files with 57 additions and 10 deletions

View File

@@ -294,7 +294,8 @@ Tests
URLs
~~~~
* ...
* :ref:`Path converters <registering-custom-path-converters>` can now raise
``ValueError`` in ``to_url()`` to indicate no match when reversing URLs.
Utilities
~~~~~~~~~