From 7e708d9ca770f7f135e01277aef7fe313fd034f1 Mon Sep 17 00:00:00 2001 From: Maxim Kukhtenkov Date: Mon, 2 Oct 2017 15:52:33 -0400 Subject: [PATCH] Update configs and changelog for version 0.9.2 --- demo/requirements.pip | 2 +- docs/changelog.rst | 6 ++++++ rest_auth/views.py | 3 ++- setup.py | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/demo/requirements.pip b/demo/requirements.pip index 2fd3e392..b6c8a777 100644 --- a/demo/requirements.pip +++ b/demo/requirements.pip @@ -1,5 +1,5 @@ django>=1.8.0 -django-rest-auth==0.9.1 +django-rest-auth==0.9.2 djangorestframework==3.5.1 django-allauth>=0.24.1 six==1.9.0 diff --git a/docs/changelog.rst b/docs/changelog.rst index ff2f5425..bf88fc81 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,12 @@ Changelog ========= +0.9.2 +----- +- added permission classes configuration for registration +- added more info to JWT docs +- added Polish translations + 0.9.1 ----- - fixed import error when extending rest_auth serializers diff --git a/rest_auth/views.py b/rest_auth/views.py index 05d5488a..58b5b29a 100644 --- a/rest_auth/views.py +++ b/rest_auth/views.py @@ -88,7 +88,8 @@ def get_response(self): def post(self, request, *args, **kwargs): self.request = request - self.serializer = self.get_serializer(data=self.request.data, context={'request': request}) + self.serializer = self.get_serializer(data=self.request.data, + context={'request': request}) self.serializer.is_valid(raise_exception=True) self.login() diff --git a/setup.py b/setup.py index 84ed0347..d78a8b59 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ setup( name='django-rest-auth', - version='0.9.1', + version='0.9.2', author='Sumit Chachra', author_email='chachra@tivix.com', url='http://github.com/Tivix/django-rest-auth',