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 you want 2 DALs with exactly the same model?
>

because a i looking for the solution for this problem : I have 2 
applications (AppA, AppB). Each application has a database (AppA.db, 
AppB.db). 
There is a table in AppA (AppA.table), which should be used in AppB and 
There is a table in AppB (AppB.table),
which should be used in AppA
 

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to