Issue 1709 https://code.google.com/p/web2py/issues/detail?id=1709 (with demonstration app and clear description of the problem)
On Wednesday, 9 October 2013 19:40:19 UTC+11, Michele Comitini wrote: > > Tim, > > I suppose you should open a ticket about it. This behavior must be > defined and then wrote in the book. > > > 2013/10/9 Tim Richardson <[email protected] <javascript:>> > >> In trunk, notice that a conditional model calling/calling_db.py >> is loading before >> db.py >> >> >> This is not what 2.6.4 does; it loads db.py first. >> I have discovered this because I have a conditional model which relies on >> database variables being created in db.py, and under trunk it breaks. >> >> The book says that models are executed alphabetically but it doesn't seem >> specific about models which are always executed, and models in directories. >> >> I assumed that "global" models would be loaded prior to "conditional" >> models. >> >> >> >> >> -- >> 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] <javascript:>. >> 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.

