annotate 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 |
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 """
|