Thanks. I'm trying that but not getting it to work for me, maybe I have another problem.
The problem is a function in controller C1 which refers to a part of the model for C2. Both controllers have models in models/C1 and models/C2 Right now I have at the top of C1 response.models_to_run['.*'] (just for debugging) but I still get a ticket saying that <type 'exceptions.AttributeError'> 'DAL' object has no attribute 'patient_submission' where patient_submission is the table defined in the model models/C2/C2_db.py I know that response.models_to_run is being changed thanks to the debugger. On Fri, Oct 4, 2013 at 12:24 PM, Anthony <[email protected]> wrote: > You can customize > response.models_to_run<https://groups.google.com/d/msg/web2py/ZfI7K9jW45w/2lJNcqFcPeEJ> > . > > Anthony > > > On Thursday, October 3, 2013 9:46:37 PM UTC-4, Tim Richardson wrote: >> >> If I have a conditional model, that is a model in a folder named after >> its controller, how can another controller source that model? >> >> -- > 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/OiZ6vwaNuEU/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Tim Richardson -- 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.

