django-oidc icon indicating copy to clipboard operation
django-oidc copied to clipboard

Initial support for Django 1.10 and Python 3

Open alexdutton opened this issue 8 years ago • 3 comments

This:

  • replaces except Exception, e with except Exception as e for Py3 support
  • moves to django.shortcuts.render from render_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)

alexdutton avatar Feb 25 '17 14:02 alexdutton

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

maiksprenger avatar Jun 30 '17 14:06 maiksprenger

may be some day someone will be able to merge all these forks to single codebase which works fine for both Pythons. :-)

koriaf avatar Jun 30 '17 18:06 koriaf

At that day Python 2 will probably EOL and only Python 3+ compatible version would be needed 😉

vstoykov avatar Jun 11 '18 10:06 vstoykov