Hi Guys, how can i install 2 web2py binary standalone applications in one
computer & start them at the same time without them interfering with one
another?
I am asking this because everytime i try to start 2 web2py standalone
applications they interfere with one another, its like they get
I use web2py with nginx.Now I need cron . I have read, that habe to use
"-Y" to activate it. But where is the place for this option, which
configuration file?
Regards, Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source
On Tuesday, July 21, 2020 at 11:41:43 PM UTC-7, AGRogers wrote:
>
> I think I'm on the latest versions of web2py and python. And i have
> problems getting modules to recompile (not sure how related that is to this
> topic). I gave up and just put all my modules in the Models folder. That
>
Hi,
Im using :
2.19.1-stable+timestamp.2020.03.21.21.49.28
Maybe importing modules is broken?
Cheers,
El Wednesday, July 22, 2020 a la(s) 1:41:43 AM UTC-5, roge...@gmail.com
escribió:
> I think I'm on the latest versions of web2py and python. And i have
> problems getting modules to
After a form has failed to save because that information already exists in
the database I wanna try & alter the value that determines a day where the
info is saved in the db for the form to be saved in a different day that
does not contain similar form details currently attempting to be saved
Maybe Ivan was just thinking of the Reference fields?
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Field-types
If so try:
db.define_table('jogador',
Field('nome', 'reference equipe'),
Field('posicao','string'),
Field('altura','double'),
Field('peso','double'),
On Tuesday, July 21, 2020 at 5:59:20 PM UTC-7, Ivan Luis wrote:
>
> db.define_table('jogador',
> Field('nome', 'string'),
> Field('posicao','string'),
> Field('altura','double'),
> Field('peso','double'),
> Field('equipe')
> )
>
> db.define_table('equipe',
> Field('nome', 'string')
>
I think I'm on the latest versions of web2py and python. And i have
problems getting modules to recompile (not sure how related that is to this
topic). I gave up and just put all my modules in the Models folder. That
always works for me. I'm going to need to sort that out though at some
point.
On Tuesday, July 21, 2020 at 3:16:29 AM UTC-7, villas wrote:
>
> Your my_validator function iterates through the whole table. This is OK
> when you have a few records, but very inefficient if you have
> thousands/millions. Why not simply query the table? Something like this...
>
> def
On Saturday, July 18, 2020 at 2:15:13 PM UTC-7, xgp.l...@gmail.com wrote:
>
> Hi,
>
> Im replicating the example from the book for better testing:
>
> ./modules/mytest.py
>
> from gluon import current
>
> def ip():
> return current.request.client
>
> ./controllers/test.py
>
> from
10 matches
Mail list logo