On Wed, Feb 18, 2009 at 11:52 AM, Paul Johnston <[email protected]> wrote:
>
> Hi,
>
>> from {{package}}.lib.base import BaseController
>> from tg import expose, flash, require, url, request, redirect
>> from pylons.i18n import ugettext as _, lazy_ugettext as l_
>> #from tg import redirect, validate
>> from {{package}}.model import DBSession, metadata
>> from {{package}}.controllers.error import ErrorController
>
> I'm not sure how exactly the commented out line affects things, but I
> think the template I'd prefer is:
>
I think it was there for the "maybe-optional" imports, but I totally
agree with you. I'll fix this hte next time i'm around it.
>> from {{package}}.lib.base import BaseController
>> from tg import expose, flash, require, url, request, redirect, validate
>> from pylons.i18n import ugettext as _, lazy_ugettext as l_
>> from {{package}}.model import DBSession, metadata
>> from {{package}}.controllers.error import ErrorController
>
> Sorry, can't write more, this keyboard is awful
no, worries. Where in the world are you now?
>
> Paul
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---