On 18-Mar-09, at 11:24 AM, Jesse wrote:
> In the view.py I have  (def Bypub) that sends data to a template and
> paginates it.  I have a second (def TextFile) that uses the same data
> to send to a CSV file.  I would like to combine the two (def Bypub and
> def TextFile) together into def Bypub, but I'm not sure how to write
> the statements to combine two responses.

You can only send one response to a request, so it can be either HTML  
or a CSV.
--
   Andy McKay
   Clearwind Consulting: www.clearwind.ca
   Blog: www.agmweb.ca/blog/andy
   Twitter: twitter.com/clearwind


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

Reply via email to