Hi everybody.
First of all thank you very much for your help it would be really
appreciated.
Well this is "my problem".
I have a custom view and I want it to be save as a html file by the client.
But I don't know how to do it!!!
I tried:
with open(filename, 'wb') as f:
f.write(response.render('controller/export.html',dict(test=test,
stats=stats)))
Works but it saves the file in the server :(
How can I make it? Any ideas?
Thank you very much in advance.
Kind regards
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.