Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #9047 -- Marked up django.core.urlresolvers.reverse() properly …

…in the

docs. It now appears in the index.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 8fb1459 commit a011a494570dbe66db11e5a9bbb901d8b3e27be7 @malcolmt malcolmt committed
Showing with 4 additions and 3 deletions.
  1. +4 −3 docs/topics/http/urls.txt
7 docs/topics/http/urls.txt
@@ -594,10 +594,11 @@ reverse()
If you need to use something similar to the :ttag:`url` template tag in
-your code, Django provides the ``django.core.urlresolvers.reverse()``. The
-``reverse()`` function has the following signature::
+your code, Django provides the following method (in the
+``django.core.urlresolvers`` module):
- reverse(viewname, urlconf=None, args=None, kwargs=None)
+.. currentmodule:: django.core.urlresolvers
+.. function:: reverse(viewname, urlconf=None, args=None, kwargs=None)
``viewname`` is either the function name (either a function reference, or the
string version of the name, if you used that form in ``urlpatterns``) or the

0 comments on commit a011a49

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