Re: [web2py] import a model ?

2013-10-04 Thread Jonathan Lundell
Mutatis mutandis… > On Oct 4, 2013, at 7:06 AM, Tim Richardson wrote: > > 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

Re: [web2py] import a model ?

2013-10-04 Thread Tim Richardson
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.

[web2py] import a model ?

2013-10-03 Thread Tim Richardson
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/issue