aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/mg_globals.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-06-19 16:23:17 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-06-19 16:23:17 -0500
commit218b8124ca5a6bd747a442c49c75a4bea37c75bf (patch)
tree563d45a630de898b94d00c094d4de8cc04f8bb7d /mediagoblin/mg_globals.py
parentd802498a2c6dce27af602f8b0affad376a219191 (diff)
downloadmediagoblin-218b8124ca5a6bd747a442c49c75a4bea37c75bf.tar.lz
mediagoblin-218b8124ca5a6bd747a442c49c75a4bea37c75bf.tar.xz
mediagoblin-218b8124ca5a6bd747a442c49c75a4bea37c75bf.zip
Document our new global objects added during the configobj branch
Diffstat (limited to 'mediagoblin/mg_globals.py')
-rw-r--r--mediagoblin/mg_globals.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/mediagoblin/mg_globals.py b/mediagoblin/mg_globals.py
index 3d0ed61d..b01be8d3 100644
--- a/mediagoblin/mg_globals.py
+++ b/mediagoblin/mg_globals.py
@@ -5,6 +5,7 @@ In some places, we need to access the database, public_store, queue_store
import gettext
import pkg_resources
+
#############################
# General mediagoblin globals
#############################
@@ -34,6 +35,13 @@ translations = gettext.find(
pkg_resources.resource_filename(
'mediagoblin', 'translations'), ['en'])
+# app and global config objects
+app_config = None
+global_config = None
+
+# The actual app object
+app = None
+
def setup_globals(**kwargs):
from mediagoblin import mg_globals