mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Made reverse() docs more self-contained.
This commit is contained in:
parent
73d532d9a9
commit
e9929cb494
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue