]> gitweb.michael.orlitzky.com - dead/census-tools.git/blobdiff - www/maps/maps/lib/app_globals.py
Added the "maps" Pylons project.
[dead/census-tools.git] / www / maps / maps / lib / app_globals.py
diff --git a/www/maps/maps/lib/app_globals.py b/www/maps/maps/lib/app_globals.py
new file mode 100644 (file)
index 0000000..8e62241
--- /dev/null
@@ -0,0 +1,15 @@
+"""The application's Globals object"""
+
+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
+        'app_globals' variable
+
+        """