From d2b5a6c8d78e4d96c7e5a309cf2aa125db7654c3 Mon Sep 17 00:00:00 2001 From: Karen Tracey Date: Sat, 1 May 2010 02:29:32 +0000 Subject: [PATCH] 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 --- django/templatetags/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/templatetags/cache.py b/django/templatetags/cache.py index 387dd8721c..4fe3c3bb8d 100644 --- a/django/templatetags/cache.py +++ b/django/templatetags/cache.py @@ -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):