[1.1.X] Fixed #13453: Corrected typo in template syntax error message. Thanks jheasly.
r13061 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
fe3b75e276
commit
ef0e10cccf
|
@ -18,7 +18,7 @@ class CacheNode(Node):
|
|||
try:
|
||||
expire_time = self.expire_time_var.resolve(context)
|
||||
except VariableDoesNotExist:
|
||||
raise TemplateSyntaxError('"cache" tag got an unknkown variable: %r' % self.expire_time_var.var)
|
||||
raise TemplateSyntaxError('"cache" tag got an unknown variable: %r' % self.expire_time_var.var)
|
||||
try:
|
||||
expire_time = int(expire_time)
|
||||
except (ValueError, TypeError):
|
||||
|
|
Loading…
Reference in New Issue