I am surprised this ever worked as you say. The proper thing to do would be
to do is to write
from ourlib import is_administrator
In your models/db.py and it will be visible in all your models that follow
db.py alphabetically and all your controllers and views.
On Monday, 24 June 2013
I am not sure what you mean. If you install a module under the modules/
folder you should be able to import it anywhere in the app. Is this not
working?
On Monday, 24 June 2013 13:09:59 UTC-5, Matt wrote:
Previously we were able to define imports that we want shared across all
our
Yes, I am able to do that. But, in the __init__.py file inside the modules
directory I was also able to define something like import simplejson as
json (eg) and then it would act as if I imported that in all my
models/controllers/modules.
For a more specific example, we have a method called
3 matches
Mail list logo