diff --git a/README.md b/README.md index 9956b23..0fed494 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ When the CSRF validation token doesn't match, django-admin-oauth2 will redirect ## Changelog +- 1.3.3: Bugfix: forgot import in view - 1.3.2: Fix bug: Don't try to serialize an anonymous user - 1.3.1: Update setup.py so pypi README docs are formatted - 1.3.0: Add support for `JSONSerializer` diff --git a/oauthadmin/views.py b/oauthadmin/views.py index f15e381..2967a86 100644 --- a/oauthadmin/views.py +++ b/oauthadmin/views.py @@ -11,7 +11,7 @@ from urllib.parse import quote_plus from django.shortcuts import redirect -from django.http import HttpResponseRedirect +from django.http import HttpResponseRedirect, HttpResponse from django.core import serializers from oauthadmin.utils import import_by_path diff --git a/setup.py b/setup.py index 89815a6..d13fe5a 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( name='django-admin-oauth2', - version='1.3.2', + version='1.3.3', description='A django app that replaces the django admin authentication mechanism by deferring to an oauth2 provider', long_description=README, long_description_content_type='text/markdown',