I use the absolute path in my code. Also, you should be able to make this
work without the define tables
-Jim
On Monday, March 3, 2014 11:22:44 PM UTC-6, Gwayne aka Mike Veltman wrote:
O well the situation is as follows, I have a database and created a web2py
webinterface with it. But
Have you checked this out?
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Using-DAL-without-define-tables
-Jim
On Monday, March 3, 2014 2:58:39 AM UTC-6, Gwayne aka Mike Veltman wrote:
I will actually call dal from within some scripts and from the webgui.
What
In a script, you can just import it like any other Python module. Not sure
what you mean by calling it from the webgui.
Anthony
On Monday, March 3, 2014 3:58:39 AM UTC-5, Gwayne aka Mike Veltman wrote:
I will actually call dal from within some scripts and from the webgui.
What would be the
O well the situation is as follows, I have a database and created a web2py
webinterface with it. But I also have create some commandline tools that
reverence the database.
So I wondered if there was a easy way to include dal in the scripts and
talk to the database.
So webgui is the
4 matches
Mail list logo