There is a nice APP for django to activate timezone https://pypi.python.org/pypi/django-visitor-information-middleware/0.1.0. Which having two middleware
TimezoneMiddleware
The middleware activates a timezone for an authenticated user.
VisitorInformationMiddleware
This middleware adds the following keys to the request.visitor dictionary:
country - country the visitor is based in.
city - city the visitor is based in
location.timezone - timezone used in the location visitor is based in
location.unit_system - unit system used in the location visitor is based in
user.timezone - timezone of the currently authenticated user
user.unit_system - unit system of the currently authenticated user.
cookie_notice - True if a cookie consent notice should be displayed for the current visitor.
Note: Location of the user is determined based on the user's IP address.