Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #17618 - Documented that variable names in template must not st…

…art with an underscore; thanks guillemette and krzysiumed.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 44452b11eb964e34e62ce8d5feab1c45d29c2e58 1 parent c007de5
Tim Graham authored February 11, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/ref/templates/api.txt
2  docs/ref/templates/api.txt
@@ -112,7 +112,7 @@ template::
112 112
     "My name is Dolores."
113 113
 
114 114
 Variable names must consist of any letter (A-Z), any digit (0-9), an underscore
115  
-or a dot.
  115
+(but they must not start with an underscore) or a dot.
116 116
 
117 117
 Dots have a special meaning in template rendering. A dot in a variable name
118 118
 signifies a **lookup**. Specifically, when the template system encounters a

0 notes on commit 44452b1

Please sign in to comment.
Something went wrong with that request. Please try again.