mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-25 10:33:45 +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-rest-auth==0.9.1
|
||||
django-rest-auth==0.9.2
|
||||
djangorestframework==3.5.1
|
||||
django-allauth>=0.24.1
|
||||
six==1.9.0
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user