diff pylons_app/lib/base.py @ 381:55377fdc1fc6

cleared global application settings. Made it much more extensible by keeping it key/value in the database.
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 01 Aug 2010 18:36:00 +0200
parents 3171614c0067
children 2a95d54b19e6
line wrap: on
line diff
--- a/pylons_app/lib/base.py	Sun Aug 01 17:08:58 2010 +0200
+++ b/pylons_app/lib/base.py	Sun Aug 01 18:36:00 2010 +0200
@@ -16,7 +16,7 @@
     
     def __before__(self):
         c.hg_app_version = __version__
-        c.hg_app_name = config['hg_app_name']
+        c.hg_app_name = config['hg_app_title']
         c.repo_name = get_repo_slug(request)
         c.cached_repo_list = _get_repos_cached()
         c.repo_switcher_list = _get_repos_switcher_cached(c.cached_repo_list)