Monday, October 3, 2011

Return a CSV and a template in the same response.

Hey gang,
I am trying to use a response object to serve a dynamically created CSV. I have that part working perfectly but I'd like to display a page afterwards with a summary of the data. Is there a good way to do this? I tired added the rendered template to the httpresponse object after I write the CSV into it but it gives a header error.

Thanks in advance

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment