Skip to content

Commit

Permalink
[1.6.x] Fixed typo in previous commit; refs #21490.
Browse files Browse the repository at this point in the history
Backport of 03bc0a8 from master
  • Loading branch information
timgraham committed Nov 24, 2013
1 parent af65860 commit df18cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/contrib/admin/index.txt
Expand Up @@ -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
Expand Down

0 comments on commit df18cc6

Please sign in to comment.