Re: [web2py] Re: My experience with heroku... also: unable to get database connection

2012-12-27 Thread Alec Taylor
Thanks, that solved it (Well that and my other thread on heroku DB) On Thu, Dec 27, 2012 at 4:40 AM, Massimo Di Pierro wrote: > Did you look at all into: > > https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-heroku.sh > https://github.com/web2py/web2py/blob/master/gluon/contrib/h

[web2py] Re: My experience with heroku... also: unable to get database connection

2012-12-26 Thread Massimo Di Pierro
Did you look at all into: https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-heroku.sh https://github.com/web2py/web2py/blob/master/gluon/contrib/heroku.py You must use db = get_db() not db=DAL() on heroku. On Wednesday, 26 December 2012 07:05:55 UTC-6, Alec Taylor wrote: > > Bee