Karl Guertin, el lunes 13 de febrero a las 14:38 me escribiste: > > 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.
+1 on short aliases (though I don't like the uppercase single letters). -- Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ .------------------------------------------------------------------------, \ GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05 / '--------------------------------------------------------------------' No es malo que en la condición humana exista la mentira. Miente el púber si quiere ponerla. -- Ricardo Vaporeso. Madrid, 1921.

