-
Notifications
You must be signed in to change notification settings - Fork 660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] request.DATA usage removed in Django Rest Framework 3.2 #96
Comments
Hi!, yes the same bug here class Login(GenericAPIView): |
There is already a pull request by @alacritythief solving this. |
Thanks. |
Is pip package updated on this issue? |
C'mon I have the same issue, this version is unsable with django-tests at all. |
I followed stack trace of error and just replaced request.DATA with request.data in those files which generated errors as per the stack trace. Then It worked fine for me. However I dont know whether it is compatible with django-tests. May be request.DATA have to be replaced with request.data for django-tests. |
Ok it does work from master branch, putting git repo link to requirements.txt solved it. |
Using django-rest-auth 4.0, and upgraded to djangorestframework 3.2 and received the following exception when testing the registration route:
request.DATA is appears to be called from rest_framework/request.py line 40.
The text was updated successfully, but these errors were encountered: