Miserlou / django-easy-timezones

Easy timezones for Django based on GeoIP
http://gun.io/blog/django-easy-timezones/
Apache License 2.0
203 stars 44 forks source link

Add support for Django 1.9 and Python 3.4 #17

Closed chromakey closed 7 years ago

chromakey commented 8 years ago

There was a syntax problem in the utils.py file where "except ValueError, e" should be "except ValueError as e" instead to support both python 2 and 3.

Django 1.8 and up requires the template backend to be defined as well.

Hope this helps!

Miserlou commented 7 years ago

I think this is taken care of by another PR, sorry for the lag in addressing.