Document our new global objects added during the configobj branch

This commit is contained in:
Christopher Allan Webber 2011-06-19 16:23:17 -05:00
parent d802498a2c
commit 218b8124ca

View 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