Re: [web2py] Re: GAE - Datastore and CloudSQL together
Hi, On 05/03/13 02:02, howesc wrote: at one point i was running both together. i did something like: db = insert connection code here sqldb = insert connection code here Got it - had tied that, but... and then connected tickets and such to db. ...could not work out how to point these system tables at the alternate DB, given that they are not explicitly defined in the model. -- Regards, PhilK 'a bell is a cup...until it is struck' -- --- 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.
Re: [web2py] Re: GAE - Datastore and CloudSQL together
ahh, the connection stuff is in the book: #store sessions in the DB session.connect(request,response,db = db) http://web2py.com/books/default/chapter/29/13#Avoid-the-filesystem On Monday, March 4, 2013 9:50:02 PM UTC-8, Philip Kilner wrote: Hi, On 05/03/13 02:02, howesc wrote: at one point i was running both together. i did something like: db = insert connection code here sqldb = insert connection code here Got it - had tied that, but... and then connected tickets and such to db. ...could not work out how to point these system tables at the alternate DB, given that they are not explicitly defined in the model. -- Regards, PhilK 'a bell is a cup...until it is struck' -- --- 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.
Re: [web2py] Re: GAE - Datastore and CloudSQL together
Hi Christian, On 05/03/13 06:07, Christian Foster Howes wrote: ahh, the connection stuff is in the book: #store sessions in the DB session.connect(request,response,db = db) http://web2py.com/books/default/chapter/29/13#Avoid-the-filesystem D'Oh! Thanks for the pointer - will go and look again, and see if I can resolve how to point the the ticket and web2py_filesystem tables to the datastore. -- Regards, PhilK 'a bell is a cup...until it is struck' -- --- 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.