From 44452b11eb964e34e62ce8d5feab1c45d29c2e58 Mon Sep 17 00:00:00 2001 From: Timo Graham Date: Sat, 11 Feb 2012 12:47:35 +0000 Subject: [PATCH] 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 --- docs/ref/templates/api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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