Mercurial > kallithea
view pylons_app/lib/app_globals.py @ 3:a205d4d7abfc
routes for adding a repo
author | Marcin Kuzminski |
---|---|
date | Thu, 18 Feb 2010 13:55:48 +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 """