﻿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
35244	URL resolution does not work with a namespaced function reference.	Willem Van Onsem	nobody	"First mentioned on StackOverflow with: https://stackoverflow.com/questions/78035103/in-django-is-it-possible-to-use-reverse-redirect-with-a-view-function-not-stri

This is because the `.reverse_dict` dictionary is not populated with view functions, or at least not if there is an `app_name` around line 563 of `resolvers.py`: https://github.com/django/django/blob/6feaad9113fd38ba3970032d2b7856c77403e29e/django/urls/resolvers.py#L563-L567

A patch is quite simple: look in the `.reverse_dict` of the subpath, and propagate the values to the upper level in case these are callable (see patch).

But the question is of course if this approach is sound and complete."	New feature	closed	Core (URLs)	5.0	Normal	duplicate	urls, resolve, reverse, resolution		Unreviewed	1	0	0	0	0	0
