In <[email protected]> [email protected]
writes:
> I think it's a float, I see in the code
> if request.method == "POST":
> end_timestamp = request.POST.get('end_timestamp', None)
> start_timestamp = request.POST.get('start_timestamp', None)
> and in the debug of django
> <QueryDict: {u'start_timestamp': [u'1378918630.398'],
That's a list, containing a string. float() expects a single item, not a
list.
--
John Gordon A is for Amy, who fell down the stairs
[email protected] B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
--
https://mail.python.org/mailman/listinfo/python-list