*i want to update last row in a table in web2py how?*
--
@n!l m@n!ky@m
Here it is:
1. Download the latest web2py sources
http://web2py.com/examples/default/download
2. Create the following 'web2py_no_threads.py' file at the web2py
directory:
### web2py_no_threads.py ###
from wsgiref.simple_server import make_server, demo_app
from gluon.main import wsgibase
httpd =
Now that you know, can you post a step by step tutorial ?
;)
Thank you!
It works with a latest sources and after fixing the import line to
'from gluon.main import wsgibase'
On Jun 3, 5:18 pm, Massimo Di Pierro
wrote:
> ### no_threads_web2py.py ###
> from wsgiref.simple_server import make_server, demo_app
> from gluon import wsgibase
> httpd = make_server('
### no_threads_web2py.py ###
from wsgiref.simple_server import make_server, demo_app
from gluon import wsgibase
httpd = make_server('', 8000, wsgibase)
print "Serving HTTP on port 8000..."
# Respond to requests until process is killed
httpd.serve_forever()
### end file ###
On Jun 3, 12:07 am, Dmi
5 matches
Mail list logo