﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
7557	ValueError does not catch all cases when trying to determine type of variable in template.Variable class	Tobias McNulty	Steffen Zieger	"{{{
  File ""/usr/lib/python2.5/site-packages/caktus/django/templatetags/__init__.py"", line 59, in __init__
    self.kwargs = dict([(k, Variable(arg)) for k, arg in kwargs.items()])
  File ""/usr/lib/python2.5/site-packages/django/template/__init__.py"", line 628, in __init__
    self.literal = float(var)
TypeError: float() argument must be a string or a number
}}}

In my case ""var"" was a dict.  obviously dict is not a supported variable type, so django should raise a more obvious error here."	New feature	closed	Template system	dev	Normal	fixed		bmispelon@… Yohann Gabory me@…	Accepted	1	0	0	0	1	0
