From a6acfc31837fd7a9e0e387320d995b2c85cfcfce Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 3 Aug 2015 08:33:51 -0400 Subject: [PATCH] Refs #17914 -- Discouraged using reverese() with callables. --- docs/ref/urlresolvers.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/ref/urlresolvers.txt b/docs/ref/urlresolvers.txt index aa0fe0d60d..8e9634c31d 100644 --- a/docs/ref/urlresolvers.txt +++ b/docs/ref/urlresolvers.txt @@ -26,6 +26,7 @@ you can use any of the following to reverse the URL:: reverse('news_archive') # passing a callable object + # (This is discouraged because you can't reverse namespaced views this way.) from news import views reverse(views.archive)