[web2py] sqlform double representation

2019-02-23 Thread Cristian Re
Hello, I have a question. I have a model like this: db.define_table('buy_invoices', ... Field('amount', 'double', default=0.0, label="Importo") ... ) and I create a page with sqlform form = SQLFORM(db.buy_invoices) when the for is displayed ther

[web2py] form help

2014-04-13 Thread Cristian Re
Hello to all, assuming I have in db.py these tables: db.define_table('items', Field('item', requires=IS_NOT_EMPTY()), format='%(item)s' ) db.define_table('types', Field('type_name', requires=IS_NOT_EMPTY()), format=

[web2py:13193] Re: start web2py as windows service

2008-12-09 Thread Cristian Re
ow a request to process before > killing it > shutdown_timeout is same as timeout except when in the process of shutting > down the server. > > -tim > > > Cristian Re wrote: > > Can you help me for understand some options in the file options.py? > > numthreads -> is

[web2py:13190] Re: start web2py as windows service

2008-12-09 Thread Cristian Re
27;s correct? timeout -> ? shutdown_timeout -> ? (shutdown the service when there isn't activity for more than xxx seconds/milliseconds?) 2008/12/9 Timothy Farrell <[EMAIL PROTECTED]> > That's cool. Hope you enjoy web2py. > > -tim > > > Cristian Re wrote: > >

[web2py:13187] Re: start web2py as windows service

2008-12-09 Thread Cristian Re
r account, but running it under the > Local System account (the default) should be fine. > > -tim > > > Cristian Re wrote: > > I want to start it on port "8000". > In the option file the number of port is 8000 and the name of file > parameters is "parameter

[web2py:13182] Re: start web2py as windows service

2008-12-09 Thread Cristian Re
<[EMAIL PROTECTED]> > Is the port specified in options.py port 80 or 8000? If it's 80, you'll > need to rename parameters_8000.py to parameters_80.py. > > -tim > > > Cristian Re wrote: > > Yes, starting it with a cmd prompt it work fine. > > In my di

[web2py:13180] Re: start web2py as windows service

2008-12-09 Thread Cristian Re
Yes, starting it with a cmd prompt it work fine. In my directory there are the two files. The parameters_8000.py was created when I started web2py.py (I think it contains the md5 password for administrator) The option.py was created by me renaming options_std.py because I want to test it, I don't