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 <t...@tim-richardson.net>

> 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 web2py+unsubscr...@googlegroups.com.
> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to