From 218b8124ca5a6bd747a442c49c75a4bea37c75bf Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 19 Jun 2011 16:23:17 -0500 Subject: [PATCH] Document our new global objects added during the configobj branch --- mediagoblin/mg_globals.py | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.25.1