-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Request parsing when .POST accessed #3592
Conversation
…ccessed Request parsing when .POST accessed
Hi. Not sure if my issue is related to this fix, but this is what I have found til that moment. Today I upgraded my DRF version to 3.3.1. In my application, I use django-rest-auth (version 0.5.0) Request Method: POST And it point to me at line 54 of views.py of rest-auth package: rest_auth/registration/views.py Line 54 is: self.request.POST = self.request.data.copy() So, the above statement fails for DRF 3.3.1, although it was working in 3.2.3 Do you know why this could be failing? Should the changes you made for this bug affect the above command somehow? Probably if this is the case there should be an update for allauth as I understand it is not your responsibility, but just wondering why after upgrading to DRF 3.3.1 got that issue, and any ideas on how I can overcome this. Regards, |
Tried in both versions (3.3.1 and 3.2.3) and the self.request.data object is the same in both versions. So I suppose what fails is the assignment to the self.request.POST? |
The definition of post method in the file rest_auth/registration/views.py:
|
ok, found out that rest-auth had an issue with that upgrade, but the fix is out there, managed to update my rest-auth source and resolve my issue. False alarm then :) Cheers |
Closes #3574.