Updated except syntax
Switched to .format for string formatting
Fixed urlparse for Python 3
Ensure ACCOUNT_TIMEZONES is always a list
Fixed unicode problems on Python 3
Added unicode_literals for better compatibility