Fixed #13453: Corrected typo in template syntax error message. Thanks jheasly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
8b1aebbf35
commit
d2b5a6c8d7
|
@ -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