2 from fma
import MongoDB
4 """The application's Globals object"""
8 """Globals acts as a container for objects available throughout the
9 life of the application
14 """One instance of Globals is created during application
15 initialization and is available during requests via the
16 'app_globals' variable
20 #TODO: connection failure handling. re-connection procedure.
21 self
.db
= MongoDB('townsquare','','','127.0.0.1',27017)