Re: [web2py] Web2py and database integration

2021-05-17 Thread Massimiliano
Hi F.C, the scheduler is initialized with db instead db_hivetu. scheduler = Scheduler(db, heartbeat=configuration.get('scheduler.heartbeat')) the best practice is, change your connection string in : private/appconfig.ini ; db configuration [db] uri =

Re: [web2py] Web2py and database integration

2021-05-16 Thread Maurice Waka
Your connection string... db_hivetu But your table is declared with db.define_tablenot db_hivetu.define_yable On Sun, May 16, 2021, 4:11 PM F.C. wrote: > # -*- coding: utf-8 -*- > > # - > # AppConfig configuration

Re: [web2py] Web2py and database integration

2021-05-16 Thread F.C.
# -*- coding: utf-8 -*- # - # AppConfig configuration made easy. Look inside private/appconfig.ini # Auth is for authentication and access control # -

Re: [web2py] Web2py and database integration

2021-05-14 Thread Christian Varas
Could you share your db.py ? Maybe there are declared 2 connections to db and one might be overwriting the one who connects to postgresql. Cheers. Chris. El El vie, 14 de may. de 2021 a la(s) 15:22, F.C. escribió: > I need some help. I have started web2py development with a passion to >

[web2py] Web2py and database integration

2021-05-14 Thread F.C.
I need some help. I have started web2py development with a passion to really master it. I love python and really want to see if I can find some excellent uses for writing online applications. The weird problem I am running into is the following and I need some help. I have an application