﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30600	Clarifiy that ValueError raised by converter.to_python() causes 404.	Fraterius	Shashank Parekh	"Yesterday I've been debugging for few hours my regexp in Converter class which seems to be not working correctly, when the real problem was my Converter's to_python() method which doesn't handle ValueError.

Django instead letting me know where lies the problem simply didn't find matching pattern and returned 404 (so it acted like a regexp problem).

The line responsible for that is:
https://github.com/django/django/blob/26d16c07fdc4a297daca554afa6375c70d6d82a9/django/urls/resolvers.py#L256

I think this should be handled in different manner. At least some note in the documentation letting user know that all ValueError's in Converters method are handled silently (which is somehow not intuitive)."	Cleanup/optimization	closed	Documentation	dev	Normal	fixed	url pattern converter regexp		Accepted	1	0	0	0	1	0
