summaryrefslogtreecommitdiff
path: root/docs/ref/templates/api.txt
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2012-02-11 12:47:35 +0000
committerTimo Graham <timograham@gmail.com>2012-02-11 12:47:35 +0000
commit44452b11eb964e34e62ce8d5feab1c45d29c2e58 (patch)
treeebc77ef62ed92bf6af4c7f7f365396e43b046f6a /docs/ref/templates/api.txt
parentc007de5b7900689ed54bc022adefcb02a576836d (diff)
Fixed #17618 - Documented that variable names in template must not start with an underscore; thanks guillemette and krzysiumed.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/templates/api.txt')
-rw-r--r--docs/ref/templates/api.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt
index 2b7d35479c..03fef1da45 100644
--- a/docs/ref/templates/api.txt
+++ b/docs/ref/templates/api.txt
@@ -112,7 +112,7 @@ template::
"My name is Dolores."
Variable names must consist of any letter (A-Z), any digit (0-9), an underscore
-or a dot.
+(but they must not start with an underscore) or a dot.
Dots have a special meaning in template rendering. A dot in a variable name
signifies a **lookup**. Specifically, when the template system encounters a