Skip to content

Commit

Permalink
Update configs and changelog for version 0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-kht committed Oct 2, 2017
1 parent 30c89b1 commit 7e708d9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion demo/requirements.pip
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 6 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion rest_auth/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup(
name='django-rest-auth',
version='0.9.1',
version='0.9.2',
author='Sumit Chachra',
author_email='[email protected]',
url='http://github.com/Tivix/django-rest-auth',
Expand Down

0 comments on commit 7e708d9

Please sign in to comment.