comparison pylons_app/lib/app_globals.py @ 80:928416088790

reimplemented summary page, added few filters, removed age from models and made it as filter.
author Marcin Kuzminski <marcin@python-blog.com>
date Sat, 17 Apr 2010 22:17:17 +0200
parents bf1b64046c79
children aec4c0071cb3
comparison
equal deleted inserted replaced
79:9fe23fdab9e9 80:928416088790
20 """One instance of Globals is created during application 20 """One instance of Globals is created during application
21 initialization and is available during requests via the 21 initialization and is available during requests via the
22 'app_globals' variable 22 'app_globals' variable
23 23
24 """ 24 """
25 #two ways of building the merc app i don't know
26 #the fastest one but belive the wsgiapp is better
27 #self.hgapp = self.make_web_app()
28 self.cache = CacheManager(**parse_cache_config_options(config)) 25 self.cache = CacheManager(**parse_cache_config_options(config))
29 self.hgapp = wsgiapplication(self.make_web_app) 26 self.hgapp = wsgiapplication(self.make_web_app)
30 27
31 def make_web_app(self): 28 def make_web_app(self):
32 repos = "hgwebdir.config" 29 repos = "hgwebdir.config"