diff options
Diffstat (limited to 'djangorestframework/authenticators.py')
| -rw-r--r-- | djangorestframework/authenticators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/authenticators.py b/djangorestframework/authenticators.py index 29fbb818..74d9931a 100644 --- a/djangorestframework/authenticators.py +++ b/djangorestframework/authenticators.py @@ -68,7 +68,7 @@ class UserLoggedInAuthenticator(BaseAuthenticator): if request.method.upper() == 'POST': # Temporarily replace request.POST with .RAW_CONTENT, # so that we use our more generic request parsing - request._post = self.mixin.RAW_CONTENT + request._post = self.view.RAW_CONTENT resp = CsrfViewMiddleware().process_view(request, None, (), {}) del(request._post) if resp is not None: # csrf failed |
