It's a good idea for us to pass the application itself into mg_globals :)
This commit is contained in:
parent
924c586b72
commit
becb77ee8c
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user