Author: timo
Date: 2012-02-11 04:47:58 -0800 (Sat, 11 Feb 2012)
New Revision: 17505
Modified:
django/branches/releases/1.3.X/docs/ref/templates/api.txt
Log:
[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.
Modified: django/branches/releases/1.3.X/docs/ref/templates/api.txt
===================================================================
--- django/branches/releases/1.3.X/docs/ref/templates/api.txt 2012-02-11
12:47:35 UTC (rev 17504)
+++ django/branches/releases/1.3.X/docs/ref/templates/api.txt 2012-02-11
12:47:58 UTC (rev 17505)
@@ -112,7 +112,7 @@
"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
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.