On Wed, Mar 4, 2009 at 00:45, Mark Ramm <[email protected]> wrote:
> Looks like pylons is helping to make the decision for us:
>
> http://pylonshq.com/project/pylonshq/changeset/2058%3A45f1838d28a5
>
> c and g are going away in the next version of Pylons, so we should be
> forward compatible ;)
I've just quickstarted a TG2 project and noticed that app_globals.py
contains the following docstring:
class Globals(object):
"""
Act as a container for objects available throughout the life of the
Application.
One instance of Globals is created during application initialization and
is available during requests via the 'g' variable
"""
Shouldn't the 'g' variable be renamed to 'app_globals' ?
Cheers,
Roger
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---