Thanks, option 1 will be my long term fix. I am doing reads only from the pure gae pages so as a quick fix i'll try option 3 and see where that gets me.
On Wednesday, August 22, 2012 1:12:47 AM UTC-4, howesc wrote: > > you have 3 options as i see it: > > - port the pages to be part of web2py controllers/views > - import the DAL and your db.py file to define your models in these > pages. then use the DAL to get the data > - duplicate your web2py models as google model classes. write your own > GQL to access the data. (trick: define as Expando models, then you don't > have to define each field). > > if you are only doing data reads any of the above are probably fine. if > these are read/write actions i personally would lean towards the first > option as it will be easier to maintain going forward. i have done option > 3 but only for doing one-time data migrations that i couldn't do with the > web2py DAL. > > cfh > > > > On Monday, August 20, 2012 8:35:06 PM UTC-7, David Sheffield wrote: >> >> I have some web pages on gae that are not web2py but I would like to >> access some data stored in my web2py "DAL" data stores that run on GAE. Can >> someone help? Basically I have some pure GAE pages that I want to query my >> web2py created DB from. Thanks >> -- >> All data is intended solely for the individual or entity to which it is >> addressed and may contain confidential and/or privileged material. Any >> review, retransmission, dissemination or other use of or taking action in >> reliance upon this information by persons or entities other than the >> intended recipient is prohibited. If you have received this email in >> error >> please contact the sender and delete the material from any computer. >> > -- All data is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. --

