cacheing query (was: Re: [web2py] Re: csv file name and other...)

2011-05-30 Thread Manuele Pesenti
On 27/05/2011 23:20, Manuele Pesenti wrote: On 27/05/2011 15:53, Anthony wrote: You could cache the query: http://web2py.com/book/default/chapter/06#Caching-Selects the controller I got define a join of some tables and let the user to customize some query parameter such as the filter and the

Re: [web2py] Re: csv file name and other...

2011-05-27 Thread Manuele Pesenti
On 27/05/2011 15:53, Anthony wrote: You could cache the query: http://web2py.com/book/default/chapter/06#Caching-Selects good to know :) many thanks Manuele

Re: [web2py] Re: csv file name and other...

2011-05-27 Thread Anthony
On Friday, May 27, 2011 8:39:02 AM UTC-4, Manuele wrote: > > On 27/05/2011 14:25, Massimo Di Pierro wrote: > > response.headers['Content-Disposition'] = > > 'attachment;filename=thisfile.csv' > > > thankyou Massimo... I had just found the answer in the list archives. > > Any suggestion about the

Re: [web2py] Re: csv file name and other...

2011-05-27 Thread Manuele Pesenti
On 27/05/2011 14:25, Massimo Di Pierro wrote: response.headers['Content-Disposition'] = 'attachment;filename=thisfile.csv' thankyou Massimo... I had just found the answer in the list archives. Any suggestion about the second question? Is it possible to store somewhere the query in order to p

[web2py] Re: csv file name and other...

2011-05-27 Thread Massimo Di Pierro
response.headers['Content-Disposition'] = 'attachment;filename=thisfile.csv' On May 27, 4:21 am, Manuele Pesenti wrote: > Hi, > > first question: > > following what reported in the > dochttp://www.web2py.com/book/default/chapter/09?search=export_to_csv > > I have implemented my export view but I