summaryrefslogtreecommitdiffstats
path: root/manas/lib/app_globals.py
diff options
context:
space:
mode:
Diffstat (limited to 'manas/lib/app_globals.py')
-rw-r--r--manas/lib/app_globals.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/manas/lib/app_globals.py b/manas/lib/app_globals.py
new file mode 100644
index 0000000..342c8cb
--- /dev/null
+++ b/manas/lib/app_globals.py
@@ -0,0 +1,13 @@
+"""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 'g'
+ variable
+ """
+ pass