1.96 introduced conditional models -- so model files in subfolders will only 
run if the name of the subfolder matches the name of the currently requested 
controller (you can also add an additional level of subfolders to match 
function names within controllers). Prior to 1.96, I don't think using 
subfolders in /models was officially supported.
 
Anthony

On Monday, June 20, 2011 3:29:24 PM UTC-4, Dane wrote:

> Hello, I'm migrating an app to a new server (ubuntu 10.10) and 
> upgraded to the most newest web2py stable version as part of this. 
> This has introduced a problem where models in subdirectories of the 
> model folder don't seem to be getting executed. Files placed directly 
> in the model folder run correctly.  I have done a 'chown www-data . - 
> R' 
>
> Any ideas?

Reply via email to