Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #21490 -- Fixed custom admin URL reverse example.

Thanks glarrain for the report.
  • Loading branch information...
1 parent 2a0ae9b commit bfe7377adbc0d10dc553a317671c193dce692ad3 @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
@@ -2522,7 +2522,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',
@bmispelon Collaborator

Shouldn't this be 'admin:polls_choice_change'?

cc @apollo13

@timgraham Owner

Oops, that's what is suggested in the ticket -- I just missed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ ... args=(,), current_app='custom')
For more details, see the documentation on :ref:`reversing namespaced URLs

0 comments on commit bfe7377

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