On Thu, Jul 2, 2009 at 2:19 AM, 小谢 <[email protected]> wrote:

>
> On Jul 2, 2:30 am, Yarko Tymciurak <[email protected]> wrote:
> > On Wed, Jul 1, 2009 at 9:19 AM, Сл <[email protected]> wrote:
> >
> > ......
> >
> > > Thanks. It really helped. It's lucky that the project is still in its
> > > early stage and we'll be refactoring the existing code with respect to
> > > web2py's conventions.
> >
> > Glad it helped.
> >
> > Of course, you do not need to import for every request (overhead) if you
> use
> > your utility only sometimes....
> >
> > then, you can just import the module / utility locally, where (and when)
> > it's needed.
>
> In .py files in models directory, "__all__" doesn't work, does it?


I think you mean something like:


    from applications/my_app/util  import *


> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to