From 282c100c4f999aee303fced81177207b223ea9b9 Mon Sep 17 00:00:00 2001 From: Toby Date: Tue, 28 Feb 2012 12:29:48 +0000 Subject: [PATCH] [xs] temp fix for logout --- ckan/config/middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/config/middleware.py b/ckan/config/middleware.py index a26ebde0dcf..f28a896f378 100644 --- a/ckan/config/middleware.py +++ b/ckan/config/middleware.py @@ -53,7 +53,6 @@ def make_app(global_conf, full_stack=True, static_files=True, **app_conf): # Routing/Session/Cache Middleware app = RoutesMiddleware(app, config['routes.map']) app = SessionMiddleware(app, config) - app = I18nMiddleware(app, config) app = CacheMiddleware(app, config) # CUSTOM MIDDLEWARE HERE (filtered by error handling middlewares) @@ -101,6 +100,7 @@ def make_app(global_conf, full_stack=True, static_files=True, **app_conf): who_parser.remote_user_key, ) + app = I18nMiddleware(app, config) # Establish the Registry for this application app = RegistryManager(app)