On Thu, 2011-05-05 at 03:05 -0700, Nge wrote:
> I already created a view and can extract data from database.But I have
> a problem. I don't know how to send to template and how to create js/
> ajax. Can you share me sample? 

how to use js does not come in the purview of this list - you just need
to do it the same way as you do in normal web pages. The last line of
your view has a return statement that sends a dictionary to the
template. Send your data that way and use js to create the chart. 
-- 
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to