django-oidc
django-oidc copied to clipboard
Initial support for Django 1.10 and Python 3
This:
- replaces
except Exception, e
withexcept Exception as e
for Py3 support - moves to
django.shortcuts.render
fromrender_to_response
for Dj1.10 support - changes the requirement to include Django 1.9 and Django 1.10
- fixes an import to try the Py3 module path
- stops using
django.conf.urls.patterns
This should maintain Django 1.8 support (having looked back through the Django docs)
Note that there's @koriaf's fork, and a fork based on that which probably is the best candidate for Python 3 and Django 1.11 support: https://github.com/py-pa/django-oidc
may be some day someone will be able to merge all these forks to single codebase which works fine for both Pythons. :-)
At that day Python 2 will probably EOL and only Python 3+ compatible version would be needed 😉