Re: Google motion chart problem in django template

2011-05-17 Thread Tarkeshwar Thakur
Sorry my syntax was incorrect. Change your list construction to be: *ml.append([str(m[selected_mode]),year, month, day, m['total']])* then in template [ {% for mode, year, month, day, total in ml %} '["{{ mode}}", "new Date({{ year }}, {{ month }}, {{ date }})", {{ total }}],' {% endfor %} ] On

Re: Google motion chart problem in django template

2011-05-17 Thread sushanth Reddy
Hi Tarkeshwar, Thank you for the response,But here i am directly passing list to the template, Can you please help me how to extract that list into that date format. Thanks in advance sushanth -- You received this message because you are subscribed to the Google Groups "Django users" group.