From c0c77955629b27869ba78b91e1cb9b057860a3fc Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sun, 24 Nov 2013 16:28:29 -0500 Subject: [1.5.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 cdfa6c6fc9..25c43e34de 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -2159,7 +2159,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 -- cgit v1.3