Thanks. I'll try import next time.

On Friday, October 4, 2013, Anthony wrote:

> And of course, you can always put model code in a module and import it
> where needed.
>
> On Friday, October 4, 2013 8:55:26 AM UTC-4, Anthony wrote:
>>
>> I commented on the issue, but this is the intended behavior. The order of
>> execution is fixed (though you can determine that fixed order with proper
>> naming of files and folders) -- response.models_to_run is only intended for
>> specification of *which* files get executed, not in which order. Do you
>> have a use case where you need to dynamically change the order of model
>> execution?
>>
>> I think what you call a "workaround" (i.e., putting the model file that
>> is common to two controllers in its own folder) is actually the cleaner
>> design -- that model file doesn't belong to only one controller or the
>> other, so it doesn't belong in a folder associated with only one of the
>> controllers.
>>
>> Anthony
>>
>> On Friday, October 4, 2013 12:38:10 AM UTC-4, Tim Richardson wrote:
>>>
>>> https://code.google.com/p/**web2py/issues/detail?id=1702<https://code.google.com/p/web2py/issues/detail?id=1702>
>>>
>>>  --
> 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
> web2py+unsubscr...@googlegroups.com <javascript:_e({}, 'cvml',
> 'web2py%2bunsubscr...@googlegroups.com');>.
> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to