diff options
| author | Timo Graham <timograham@gmail.com> | 2012-02-11 12:47:58 +0000 |
|---|---|---|
| committer | Timo Graham <timograham@gmail.com> | 2012-02-11 12:47:58 +0000 |
| commit | f202387e6c807878b4fc80e0efa83a488e157b7a (patch) | |
| tree | 82c1de0596a99293824816699ff0791b6a38c2b2 /docs/ref/templates/api.txt | |
| parent | 2646df45374d7c9054adda998e64f3beb6ae6f62 (diff) | |
[1.3.X] Fixed #17618 - Documented that variable names in template must not start with an underscore; thanks guillemette and krzysiumed.
Backport of r17504 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/templates/api.txt')
| -rw-r--r-- | docs/ref/templates/api.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt index 4cfa4da2ac..7f04f20f1b 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 |
