From f32bb3adf039b72cea34347022626231d187e303 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 3 Aug 2015 08:33:51 -0400 Subject: [PATCH] [1.8.x] Refs #17914 -- Discouraged using reverese() with callables. Backport of a6acfc31837fd7a9e0e387320d995b2c85cfcfce from master --- docs/ref/urlresolvers.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/ref/urlresolvers.txt b/docs/ref/urlresolvers.txt index 0715d0d39d..b8d5b58f71 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)