Document our new global objects added during the configobj branch
This commit is contained in:
parent
d802498a2c
commit
218b8124ca
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user