* add __repr__() to all current module objects (fixes #10) * pep8 fixes in all Python files (addresses #9) * create subdirectory for customer templates (addresses #2) git-svn-id: file:///var/www/wwwusers/usr01/svn/pyalchemybiz/trunk@8 389c73d4-bf09-4d3d-a15e-f94a37d0667a
15 lines
398 B
Python
15 lines
398 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
|