mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Made reverse() docs more self-contained.
This commit is contained in:
parent
73d532d9a9
commit
e9929cb494
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user