Ian Bicking wrote:
>> Personally, I think that the new `tg` package should import and
>> alias `pylons.c` to something called `context` in order to be a
>> little more explicit, and `pylons.g` should be aliased as well
>> to something less confusing (although `global` is a keyword and
>> `globals` is a built-in).
>
> app_globals?
Good idea. I have done both of these in trunk, and also aliased request
into the tg namespace. So, now you can do:
from tg import expose, validate, request, context, app_globals
from tg import TurboGearsApplication, TurboGearsController
This should make things a bit simpler to use for turbogears users.
--
Jonathan LaCour
http://cleverdevil.org
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---