[web2py] Database Access Layer (Not to be confused with database abstraction layer)

2014-10-02 Thread David Freedman
In one of my web2py apps, I’ve got a dynamic database calls sprinkled throughout my controllers. While I don’t yet want to factor database access out into a restful api, I do want to factor it out into a resource design of a similar style even though it will use native python objects rather

[web2py] Getting 'MySQL server has gone away' on PythonAnywhere

2014-01-28 Thread David Freedman
There have been several versions of this issue discussed but none of them are yielding results for me. Once every 3-4 days, I begin receiving the error text below. What perplexes me is that not only does my app fail to run with this error, but the admin site produces the same error. When I g