Kevin Dangoor wrote:
> On 2/13/06, Michele Cella <[EMAIL PROTECTED]> wrote:
> > +1
> > That's also what I do on my code, it feels nicer IMHO and you keep an
> > eye on what comes from where.
> >
> > from turbogears import controllers, widgets, validators
> > from turbogears import expose, validate, error_handler, flash, redicect
>
> OK. Henceforth, this is what I plan to do with my code, documentation
> and the quickstart. If you spot something that doesn't work this way,
> feel free to submit a patch in the Trac.
>

I've reported it in the wrong way (without checking my code), that's
actually what I really use:

from turbogears.controllers import RootController, Controller
from turbogears import expose, validate, error_handler, flash, redirect
from turbogears import widgets, validators

I also import RootController and Controller, so I have:

class Root(RootController):
    ...

I like it so. :-)

Ciao
Michele

Reply via email to