Models are executed in ascending alphabetical order, e.g. db1.py
db2.py ...
You don't have to import or do anything.

Obviously you have to keep the definitions in logical sequence, for
example:
in db1 (and only in db1) you would define db=SQLDB(...)
in db2 you could do your define_tables
in db3 your requires
etc.

so that the objects have been defined when you are trying to use them.

--~--~---------~--~----~------------~-------~--~----~
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