Ticket #13453: templatetags.cache.diff
File templatetags.cache.diff, 655 bytes (added by , 15 years ago) |
---|
-
django/templatetags/cache.py
18 18 try: 19 19 expire_time = self.expire_time_var.resolve(context) 20 20 except VariableDoesNotExist: 21 raise TemplateSyntaxError('"cache" tag got an unkn kown variable: %r' % self.expire_time_var.var)21 raise TemplateSyntaxError('"cache" tag got an unknown variable: %r' % self.expire_time_var.var) 22 22 try: 23 23 expire_time = int(expire_time) 24 24 except (ValueError, TypeError):