aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/request.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/request.py')
-rw-r--r--rest_framework/request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/request.py b/rest_framework/request.py
index 1ea61586..735a9288 100644
--- a/rest_framework/request.py
+++ b/rest_framework/request.py
@@ -46,7 +46,7 @@ class override_method(object):
def __enter__(self):
self.view.request = clone_request(self.request, self.method)
- action_map = getattr(self, 'action_map', {})
+ action_map = getattr(self.view, 'action_map', {})
self.view.action = action_map.get(self.method.lower())
return self.view.request