Update configs and changelog for version 0.9.2

This commit is contained in:
Maxim Kukhtenkov 2017-10-02 15:52:33 -04:00
parent 30c89b1cc6
commit 7e708d9ca7
4 changed files with 10 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -88,7 +88,8 @@ class LoginView(GenericAPIView):
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()

View File

@ -18,7 +18,7 @@ f.close()
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',