models files in web2py are defined as "containers for things you want
to expose to all controllers". If something should not be exposed to
all controllers do not put it in a model, put it in a module and
import the module where needed.

web2py keywords like DAL, SQLFORM, etc, exist in the namespace but
they do not constitute any overhead because the corresponding modules
are cached by python. You cannot disable them because they are
keywords. You should think of them as you think of the "print"
statement.

Massimo

On Mar 22, 8:01 pm, Śląski <[email protected]> wrote:
> How can i disable to import some default packages (for example from
> all controller files i don't want to use the database, DAL, SQLFORMs
> etc...)
>
> I want to manage this in other way.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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