Skip to content

Commit

Permalink
Made reverse() docs more self-contained.
Browse files Browse the repository at this point in the history
  • Loading branch information
cliff688 authored Nov 27, 2024
1 parent 73d532d commit e9929cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ref/urlresolvers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
``reverse()``
=============

If you need to use something similar to the :ttag:`url` template tag in
your code, Django provides the following function:
The ``reverse()`` function can be used to return an absolute path reference
for a given view and optional parameters, similar to the :ttag:`url` tag:

.. function:: reverse(viewname, urlconf=None, args=None, kwargs=None, current_app=None)

Expand Down

0 comments on commit e9929cb

Please sign in to comment.