its the welcome app except for the DAL line. (I created a New simple application named it TestPostgres and changed the db.py: db = DAL('postgres://dbuser:testpw@localhost/testdb') ) everything else stayed the same. I created a testdb so that cant be the problem.
On Saturday, March 9, 2013 2:23:39 PM UTC+1, LightDot wrote: > > That's a different problem. And this one is about web2py :) > > Do you have a function in conrollers/default.py called TestPostgres..? The > easiest way to help you would be if you simply post the code (controller, > view and possibly model) that's giving you problems. > > Regards, > Ales > > On Saturday, March 9, 2013 2:04:43 PM UTC+1, BlueShadow wrote: >> >> Thanks Alfonso de la Guarda Reyes. I got a step further with that. psql >> -U dbuser -d testdb this command works now but web2py still throws an error. >> still this: invalid function (default/TestPostgres) which doesn't help >> me at all. I got no clue where to look to solve this. >> >> >> On Saturday, March 9, 2013 4:40:00 AM UTC+1, Alfonso de la Guarda Reyes >> wrote: >>> >>> Hi, >>> >>> Precisely today i have send a patch to Massimo for the book >>> >>> >>> https://github.com/mdipierro/web2py-book/blob/master/sources/29-web2py-english/13.markmin >>> >>> >>> You can review what you need to do.... >>> >>> Saludos, >>> >>> -------------------------------- >>> Alfonso de la Guarda >>> Twitter: @alfonsodg >>> Redes sociales: alfonsodg >>> Telef. 991935157 >>> 1024D/B23B24A4 >>> 5469 ED92 75A3 BBDB FD6B 58A5 54A1 851D B23B 24A4 >>> >>> -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.