view pylons_app/lib/app_globals.py @ 8:3092016c6d0c

Changed to webapp, removed get from routes,
author Marcin Kuzminski
date Thu, 18 Feb 2010 17:36:43 +0100
parents 564e40829f80
children 525ed90e4577
line wrap: on
line source

"""The application's Globals object"""

class Globals(object):

    """Globals acts as a container for objects available throughout the
    life of the application

    """

    def __init__(self):
        """One instance of Globals is created during application
        initialization and is available during requests via the
        'app_globals' variable

        """