1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Made reverse() docs more self-contained.

This commit is contained in:
Clifford Gama
2024-11-27 20:26:14 +02:00
committed by GitHub
parent 73d532d9a9
commit e9929cb494

View File

@@ -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)