Browse Source

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
Timo Graham 13 years ago
parent
commit
44452b11eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/ref/templates/api.txt

+ 1 - 1
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