diff options
Diffstat (limited to 'manas/config')
-rw-r--r-- | manas/config/app_cfg.py | 7 | ||||
-rw-r--r-- | manas/config/middleware.py | 1 |
2 files changed, 4 insertions, 4 deletions
diff --git a/manas/config/app_cfg.py b/manas/config/app_cfg.py index 3f9da94..73d0b01 100644 --- a/manas/config/app_cfg.py +++ b/manas/config/app_cfg.py @@ -9,14 +9,15 @@ base_config.renderers = [] base_config.package = manas -#Set the default renderer +# Set the default renderer base_config.default_renderer = 'genshi' base_config.renderers.append('genshi') -#Configure the base SQLALchemy Setup +# Configure the base SQLALchemy Setup base_config.use_sqlalchemy = True base_config.model = manas.model -#Configure the authentication backend + +# Configure the authentication backend base_config.auth_backend = 'sqlalchemy' base_config.sa_auth = Bunch() base_config.sa_auth.dbsession = model.DBSession diff --git a/manas/config/middleware.py b/manas/config/middleware.py index 8656e8e..8c24a8c 100644 --- a/manas/config/middleware.py +++ b/manas/config/middleware.py @@ -11,4 +11,3 @@ def make_app(global_conf, full_stack=True, **app_conf): app = make_base_app(global_conf, full_stack=True, **app_conf) #Wrap your base turbogears app with custom middleware return app -
\ No newline at end of file |