aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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