From 9c6fa493bfbe988e9bc42d9cefa33fb076d6670c Mon Sep 17 00:00:00 2001 From: Bryan Date: Mon, 10 Feb 2014 17:45:10 -0700 Subject: [PATCH] Look for timezone --- timezone-detect/middleware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timezone-detect/middleware.py b/timezone-detect/middleware.py index bee0652..465a8e5 100644 --- a/timezone-detect/middleware.py +++ b/timezone-detect/middleware.py @@ -3,7 +3,7 @@ class TimezoneMiddleware(object): def process_request(self, request): - tz = request.session.get('detected_tz') + tz = request.session.get('detected_timezone') if tz: # `request.timezone_active` is used in the template # tag to detect if the timezone has been activated