Document our new global objects added during the configobj branch
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 19 Jun 2011 21:23:17 +0000 (16:23 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 19 Jun 2011 21:23:17 +0000 (16:23 -0500)
mediagoblin/mg_globals.py

index 3d0ed61d33a5c58ee6eb66c79f679279bfbeb4fe..b01be8d37182af77620e5fb5e2b1dc238bd895f6 100644 (file)
@@ -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