Compatibility fixes.
authorRadek Czajka <rczajka@rczajka.pl>
Sun, 21 Sep 2014 20:34:09 +0000 (22:34 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Sun, 21 Sep 2014 20:34:53 +0000 (22:34 +0200)
commitd49a76b7b6e3907820847497e3b42ac4450b8c2d
tree840c4e729c4710057e97e2d3efdc304a4abcb42b
parent488fe796f2903c7580c4df487de4233b41dbb384
Compatibility fixes.

* Use unicode_literals thoughout the package.
* Add indexes to '{}'.format(), unindexed version unsupported in Py2.6.
* Remove remnants of Python 2.5 support (Django 1.5 is required anyway).
* Stop relying on `hasattr` on OneToOneField, won't work on Python 3.2 + Django 1.6
  (see https://code.djangoproject.com/ticket/21563).
13 files changed:
cas_provider/__init__.py
cas_provider/admin.py
cas_provider/attribute_formatters.py
cas_provider/exceptions.py
cas_provider/forms.py
cas_provider/management/commands/cleanuptickets.py
cas_provider/models.py
cas_provider/signals.py
cas_provider/urls.py
cas_provider/views.py
cas_provider_examples/manage.py
cas_provider_examples/simple/settings.py
cas_provider_examples/simple/urls.py