By default, model files in subfolders are only run when the subfolder name 
matches request.controller and/or request.function. If you want different 
behavior, you have to explicitly set response.models_to_run. Please see the 
documentation:

http://web2py.com/books/default/chapter/29/04/the-core#Workflow
http://web2py.com/books/default/chapter/29/04/the-core#markmin_response_models_to_run

Anthony

On Friday, August 22, 2014 5:44:37 AM UTC-4, Antonis Loumiotis wrote:
>
> Hi,
>
> When I try to run a homemade task models defined in subfolders of the 
> application model folder are not executed.  Only models defined directly in 
> the model folder are executed.  Is this a bug or is this the normal 
> behavior for homemade task?
>
> I'm using Web2py Version 2.9.5-stable+timestamp.2014.03.16.02.35.39 on a 
> Windows XP machine.
>
> Best regards,
>
> Antonis
>

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