comparison pylons_app/config/environment.py @ 300:8f7b8e965fe4

fixed 404s added extra validator for magic repo_name path in routes
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 28 Jun 2010 18:09:56 +0200
parents 0e5455fda8fd
children 7e4771a0ff43
comparison
equal deleted inserted replaced
299:d303aacb3349 300:8f7b8e965fe4
61 sa_engine_db1 = engine_from_config(config, 'sqlalchemy.db1.') 61 sa_engine_db1 = engine_from_config(config, 'sqlalchemy.db1.')
62 62
63 init_model(sa_engine_db1) 63 init_model(sa_engine_db1)
64 repo2db_mapper(_get_repos_cached_initial(config['pylons.app_globals'])) 64 repo2db_mapper(_get_repos_cached_initial(config['pylons.app_globals']))
65 set_available_permissions(config) 65 set_available_permissions(config)
66 config['base_path'] = config['pylons.app_globals'].base_path
66 # CONFIGURATION OPTIONS HERE (note: all config options will override 67 # CONFIGURATION OPTIONS HERE (note: all config options will override
67 # any Pylons config options) 68 # any Pylons config options)
68 69
69 return config 70 return config