[web2py] Re: multiple DAL

2014-08-29 Thread eric cuver
can you give me example please ? Le lundi 25 août 2014 21:08:47 UTC+2, Niphlod a écrit : > > or you can just use migrate=False and leave it be. > > On Monday, August 25, 2014 7:49:32 PM UTC+2, Leonel Câmara wrote: >> >> Ohh then you also need to pass the "folder" argument to your DAL as the >> sq

[web2py] Re: multiple DAL

2014-08-25 Thread Niphlod
or you can just use migrate=False and leave it be. On Monday, August 25, 2014 7:49:32 PM UTC+2, Leonel Câmara wrote: > > Ohh then you also need to pass the "folder" argument to your DAL as the > sqlite file will not be in your application's database folder but in the > other app's folder. > --

[web2py] Re: multiple DAL

2014-08-25 Thread Leonel Câmara
Ohh then you also need to pass the "folder" argument to your DAL as the sqlite file will not be in your application's database folder but in the other app's folder. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https

[web2py] Re: multiple DAL

2014-08-25 Thread eric cuver
Le lundi 25 août 2014 18:29:02 UTC+2, Leonel Câmara a écrit : > > Yes you can, however you probably don't want both DALs using the same db > (sqlite is pointing to the same file). Also remember to do > db1.define_table, db2.define_table, etc. Instead of just db.define_table. > > Anyway, why do

[web2py] Re: multiple DAL

2014-08-25 Thread Leonel Câmara
Yes you can, however you probably don't want both DALs using the same db (sqlite is pointing to the same file). Also remember to do db1.define_table, db2.define_table, etc. Instead of just db.define_table. Anyway, why do you want 2 DALs with exactly the same model? -- Resources: - http://web2p