diff options
| author | Tim Graham <timograham@gmail.com> | 2013-11-24 16:28:29 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-11-24 16:29:14 -0500 |
| commit | c0c77955629b27869ba78b91e1cb9b057860a3fc (patch) | |
| tree | b83f1d68450386bba92c5597f77e0c78d4274a8b /docs/ref | |
| parent | 0934894976042033d74f809cefa229b82cff85f2 (diff) | |
[1.5.x] Fixed typo in previous commit; refs #21490.
Backport of 03bc0a8ac5 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
