summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/templates/builtins.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index 656cbedecd..a3d3d66f0d 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -1024,6 +1024,16 @@ This will follow the normal :ref:`namespaced URL resolution strategy
<topics-http-reversing-url-namespaces>`, including using any hints provided
by the context as to the current application.
+.. warning::
+
+ Don't forget to put quotes around the function path or pattern name!
+
+ .. versionchanged:: 1.5
+ The first paramater used not to be quoted, which was inconsistent with
+ other template tags. Since Django 1.5, it is evaluated according to
+ the usual rules: it can be a quoted string or a variable that will be
+ looked up in the context.
+
.. templatetag:: verbatim
verbatim