From df18cc632cd78d575f434310724034630cc84304 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sun, 24 Nov 2013 16:28:29 -0500 Subject: [PATCH] [1.6.x] Fixed typo in previous commit; refs #21490. Backport of 03bc0a8ac5 from master --- docs/ref/contrib/admin/index.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 4826bae6905..ae0fd8214af 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -2354,7 +2354,7 @@ that instance as a ``current_app`` hint to the reverse call. For example, if you specifically wanted the admin view from the admin instance named ``custom``, you would need to call:: - >>> change_url = urlresolvers.reverse('custom:polls_choice_change', + >>> change_url = urlresolvers.reverse('admin:polls_choice_change', ... args=(c.id,), current_app='custom') For more details, see the documentation on :ref:`reversing namespaced URLs