def process_request(self, request):
        if request.user.is_authenticated():
            try:
                user = request.user.get_profile()
                timezone.activate(pytz.timezone(user.timezone))
            except (Profile.DoesNotExist, pytz.UnknownTimeZoneError):
                pass
Activate the user's selected timezone for this request.
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/accounts/middleware.py/TimezoneMiddleware.process_request