On 2/13/06, Michele Cella <[EMAIL PROTECTED]> wrote:
> from turbogears import controllers widgets, validators
> from turbogears import expose, validate, error_handler, flash, redicect

My imports are:

from turbogears import controllers
from turbogears import widgets as W
from turbogears import validators as V
import turbogears as tg

I import the first because I tend to override them as the project
progresses (custom validators and widgets) and it's easy to change
them to 'import validators as V'. I like to know tg functions (expose,
validate, etc) come from turbogears, hence the last line.

Reply via email to