Skip to content

Commit 658664a

Browse files
committed
Merge branch 'master' into pr/367
2 parents f89471f + ee791a4 commit 658664a

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ language: python
22
python:
33
- "2.7"
44
- "3.5"
5+
- "3.6"
56
env:
6-
- DJANGO=1.8.18
7-
- DJANGO=1.10.7
8-
- DJANGO=1.11.1
7+
- DJANGO=1.8.* DRF=3.6.*
8+
- DJANGO=1.10.* DRF=3.7.*
9+
- DJANGO=1.11.* DRF=3.7.*
910
install:
10-
- pip install -q Django==$DJANGO
11+
- pip install -q Django==$DJANGO djangorestframework==$DRF
1112
- pip install coveralls
1213
- pip install -r rest_auth/tests/requirements.pip
1314
script:

rest_auth/views.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def get(self, request, *args, **kwargs):
113113

114114
return self.finalize_response(request, response, *args, **kwargs)
115115

116-
def post(self, request):
116+
def post(self, request, *args, **kwargs):
117117
return self.logout(request)
118118

119119
def logout(self, request):
@@ -193,7 +193,7 @@ class PasswordResetConfirmView(GenericAPIView):
193193
def dispatch(self, *args, **kwargs):
194194
return super(PasswordResetConfirmView, self).dispatch(*args, **kwargs)
195195

196-
def post(self, request):
196+
def post(self, request, *args, **kwargs):
197197
serializer = self.get_serializer(data=request.data)
198198
serializer.is_valid(raise_exception=True)
199199
serializer.save()
@@ -216,7 +216,7 @@ class PasswordChangeView(GenericAPIView):
216216
def dispatch(self, *args, **kwargs):
217217
return super(PasswordChangeView, self).dispatch(*args, **kwargs)
218218

219-
def post(self, request):
219+
def post(self, request, *args, **kwargs):
220220
serializer = self.get_serializer(data=request.data)
221221
serializer.is_valid(raise_exception=True)
222222
serializer.save()

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
zip_safe=False,
3030
install_requires=[
3131
'Django>=1.8.0',
32-
'djangorestframework>=3.1.0',
32+
'djangorestframework>=3.1.3',
3333
'six>=1.9.0',
3434
],
3535
extras_require={

0 commit comments

Comments
 (0)