Presumably you already have all of the data required to generate a
chart on the server? If so, then store the chart data in a model, and
just reference it by id. e.g.

<img src="/chart?id=834765" />

(or w/ a pretty URL: <img src="/chart/834765" />)

And create a Chart object and store it before sending out the HTML
response. Then update your chart view so that it fetches that object
and uses it as input to generate the graph.

--~--~---------~--~----~------------~-------~--~----~
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