diff options
| author | Tom Christie | 2011-04-27 18:44:21 +0100 |
|---|---|---|
| committer | Tom Christie | 2011-04-27 18:44:21 +0100 |
| commit | 5a59f339c1757767b136de33faa5b67a972141a1 (patch) | |
| tree | 56af543c3312875e8e945248293ebc263d833b44 /djangorestframework/authenticators.py | |
| parent | b18302586c0eeea2e09c799544b9c0a855e11755 (diff) | |
| download | django-rest-framework-5a59f339c1757767b136de33faa5b67a972141a1.tar.bz2 | |
Urg. Fixing broken merge
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 |
