Jan Dittberner
9c800c0ed8
paster create -t pylons ... paster controller ddportfolio add support for sphinx
14 lines
397 B
Python
14 lines
397 B
Python
"""The application's Globals object"""
|
|
from pylons import config
|
|
|
|
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
|