Mercurial > public > src > rhodecode
annotate pylons_app/lib/app_globals.py @ 0:564e40829f80
initial commit.
author | Marcin Kuzminski |
---|---|
date | Thu, 18 Feb 2010 13:01:57 +0100 |
parents | |
children | 525ed90e4577 |
rev | line source |
---|---|
0 | 1 """The application's Globals object""" |
2 | |
3 class Globals(object): | |
4 | |
5 """Globals acts as a container for objects available throughout the | |
6 life of the application | |
7 | |
8 """ | |
9 | |
10 def __init__(self): | |
11 """One instance of Globals is created during application | |
12 initialization and is available during requests via the | |
13 'app_globals' variable | |
14 | |
15 """ |