Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

[1.6.x] Fixed #21490 -- Fixed custom admin URL reverse example.

Thanks glarrain for the report.

Backport of bfe7377 from master
  • Loading branch information...
1 parent 432de54 commit af65860c5bc8f5efb76df9078284996cf55114f5 @timgraham timgraham committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  docs/ref/contrib/admin/index.txt
3  docs/ref/contrib/admin/index.txt
@@ -2354,7 +2354,8 @@ 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', args=(,))
+ >>> change_url = urlresolvers.reverse('custom:polls_choice_change',
+ ... args=(,), current_app='custom')
For more details, see the documentation on :ref:`reversing namespaced URLs

0 comments on commit af65860

Please sign in to comment.
Something went wrong with that request. Please try again.