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:
Karen Tracey 2010-05-01 02:29:32 +00:00
parent 8b1aebbf35
commit d2b5a6c8d7
1 changed files with 1 additions and 1 deletions

View File

@ -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):