I've modified gluon/rewrite.py to log functions and controllers:
if self.args:
try:
mylog = open('mylog.txt', 'a')
mylog.write('%s %s\n' % (self.functions, self.controllers))
mylog.close()
except:
pass
if self.args[0] in self.functions or self.args[0] in
Hello.
I have a backend function that is supposed to stream a pdf file, but not
instantly download it. It's being called like this
.../function_to_create_pdf/323, where the number is some ID. I create a
FPDF stream and make function return this
response.headers['Content-Type'] = None
return resp
Hi
I had a look on w2ui and look good but don't have any idea on how to use it
with w2py.
I'm a client-server dev.
This a new world for me.
If you have any clue, it would be really good
Thanks
Yann
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web
3 matches
Mail list logo