It's a good idea for us to pass the application itself into mg_globals :)

This commit is contained in:
Christopher Allan Webber 2011-06-18 19:00:01 -05:00
parent 924c586b72
commit becb77ee8c

View File

@ -125,6 +125,7 @@ class MediaGoblinApp(object):
email_debug_mode=app_config['email_debug_mode'],
# Actual, useful to everyone objects
app=self,
db_connection=self.connection,
database=self.db,
public_store=self.public_store,