2008-10-05 17:23:54 +02:00
|
|
|
"""The application's Globals object"""
|
|
|
|
from pylons import config
|
|
|
|
|
2008-10-06 00:32:59 +02:00
|
|
|
|
2008-10-05 17:23:54 +02:00
|
|
|
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 'g'
|
|
|
|
variable
|
|
|
|
"""
|
|
|
|
pass
|