source: cows/trunk/cows/pylons/project_templates/cows_server/+package+/lib/ @ 4917

Subversion URL:
Revision 4917, 397 bytes checked in by spascoe, 11 years ago (diff)

Created a Paste project template based on Dom's example server. This
was constructed by following the tutorial at "Making SimpleSite? into a
Paste Project Template"

1"""The application's Globals object"""
2from pylons import config
4class Globals(object):
5    """Globals acts as a container for objects available throughout the
6    life of the application
7    """
9    def __init__(self):
10        """One instance of Globals is created during application
11        initialization and is available during requests via the 'g'
12        variable
13        """
14        pass
Note: See TracBrowser for help on using the repository browser.