mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-26 02:53:46 +03:00
Update configs and changelog for version 0.9.2
This commit is contained in:
parent
30c89b1cc6
commit
7e708d9ca7
|
@ -1,5 +1,5 @@
|
||||||
django>=1.8.0
|
django>=1.8.0
|
||||||
django-rest-auth==0.9.1
|
django-rest-auth==0.9.2
|
||||||
djangorestframework==3.5.1
|
djangorestframework==3.5.1
|
||||||
django-allauth>=0.24.1
|
django-allauth>=0.24.1
|
||||||
six==1.9.0
|
six==1.9.0
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
0.9.2
|
||||||
|
-----
|
||||||
|
- added permission classes configuration for registration
|
||||||
|
- added more info to JWT docs
|
||||||
|
- added Polish translations
|
||||||
|
|
||||||
0.9.1
|
0.9.1
|
||||||
-----
|
-----
|
||||||
- fixed import error when extending rest_auth serializers
|
- fixed import error when extending rest_auth serializers
|
||||||
|
|
|
@ -88,7 +88,8 @@ class LoginView(GenericAPIView):
|
||||||
|
|
||||||
def post(self, request, *args, **kwargs):
|
def post(self, request, *args, **kwargs):
|
||||||
self.request = request
|
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.serializer.is_valid(raise_exception=True)
|
||||||
|
|
||||||
self.login()
|
self.login()
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -18,7 +18,7 @@ f.close()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='django-rest-auth',
|
name='django-rest-auth',
|
||||||
version='0.9.1',
|
version='0.9.2',
|
||||||
author='Sumit Chachra',
|
author='Sumit Chachra',
|
||||||
author_email='chachra@tivix.com',
|
author_email='chachra@tivix.com',
|
||||||
url='http://github.com/Tivix/django-rest-auth',
|
url='http://github.com/Tivix/django-rest-auth',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user