ソースを参照

Made reverse() docs more self-contained.

Clifford Gama 4 ヶ月 前
コミット
e9929cb494
1 ファイル変更2 行追加2 行削除
  1. 2 2
      docs/ref/urlresolvers.txt

+ 2 - 2
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)