From: Radek Czajka Date: Sun, 21 Sep 2014 20:34:09 +0000 (+0200) Subject: Compatibility fixes. X-Git-Tag: 22.4~10^2 X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/commitdiff_plain/d49a76b7b6e3907820847497e3b42ac4450b8c2d?ds=inline;hp=d49a76b7b6e3907820847497e3b42ac4450b8c2d 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). ---