if this is a SQLite db you can do

db=SQDB('sqlite://../../baseapp/models/storage.db')

db.define_table(.....,migrate=False) # you need to redefine the tables
that you with migrate=False

On Nov 8, 3:31 pm, Grahack <[EMAIL PROTECTED]> wrote:
> Thanks for the three answers M, but...
>
> On 8 nov, 15:41, mdipierro <[EMAIL PROTECTED]> wrote:
>
> > Since models are executed alhpabetically one option is to create a
> > 0.py model.
>
> I don't manage to connect to this db located in, say 'baseapp' app,
> from myotherapp/controllers/default.py. Do you have a clue for me?
> If the content of 0.py is not conventional, please guide me for this
> too.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to