Merge "Use request.COOKIES to activate the timezone" into stable/ocata
This commit is contained in:
commit
010bf65740
|
@ -106,7 +106,7 @@ class HorizonMiddleware(object):
|
|||
}
|
||||
)
|
||||
|
||||
tz = request.session.get('django_timezone')
|
||||
tz = utils.get_timezone(request)
|
||||
if tz:
|
||||
timezone.activate(tz)
|
||||
|
||||
|
|
Loading…
Reference in New Issue