I remember that everytime web2py will run model.py file. If you have not the tables, it will create these for you and if you have, it will know how to map these database to the DAL.
On 30 January 2014 09:21, Cliff Kachinske <[email protected]> wrote: > I'm giving a talk on DAL at the Pyatl meetup next Thursday. It's going to > include some code reading, mostly from gluon. > > There are a few things I can't figure out, though. > > 1. I can't find the code that loads model files. > > 2. I'm not sure how DAL gets into the name space for the model files. I see > where gluon.__init__ imports it, but I don't think that's the answer. > > Any pointers greatly appreciated. > > Thanks, > Cliff Kachinske > > -- > 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/groups/opt_out. -- 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/groups/opt_out.

