diff options
| author | Clifford Gama <53076065+cliff688@users.noreply.github.com> | 2024-11-27 20:26:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-27 15:26:14 -0300 |
| commit | e9929cb4946ca334668cff85ca72d1cddeaa8b07 (patch) | |
| tree | aab1a0f55a6ad0972d2439db7b3364b793c408ed /docs | |
| parent | 73d532d9a92d4d472564f3251499a428d1da9835 (diff) | |
Made reverse() docs more self-contained.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/urlresolvers.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/urlresolvers.txt b/docs/ref/urlresolvers.txt index 3c3be76e75..eca00cf106 100644 --- a/docs/ref/urlresolvers.txt +++ b/docs/ref/urlresolvers.txt @@ -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) |
