On 2/13/06, Leandro Lucarella <[EMAIL PROTECTED]> wrote: > > 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. > > +1 on short aliases (though I don't like the uppercase single letters).
I'm going to go the route of "from turbogears import expose, validate, redirect..." in docs and quickstart... but, this is still Python and the imports will still be explicitly stated. So, whichever style of importing appeals most to you will still be available. Kevin

