Hi Samir and Babatunde,

2012/7/7 Babatunde Akinyanmi <tundeba...@gmail.com>:
> However, I don't think its possible to send both an html page and a
> CSV so I guess you'll have to choose one or send them one at a time
> (html page then csv). I'm sure Mevlyn will know if its possible
> though.
>

I think so too, one server request delivers one response.
But you can achieve this, if you place a link on top of the html view
of your page.
And if you are sure, *everybody* who accesses the page wants to
download the csv as well, you can put a redirect in the http-meta tags
to the csv view. You have probably seen this practice on pages like
"sourceforge" etc. : "If your download doesn't start automatically,
click this link..."

Hope that helps, best regards

Daniel

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