aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/request.py
diff options
context:
space:
mode:
authorTom Christie2012-10-17 23:09:11 +0100
committerTom Christie2012-10-17 23:09:11 +0100
commitfed235dd0135c3eb98bb218a51f01ace5ddd3782 (patch)
treed3ac6bee7dd477461ec545b5fd4405ce66c047b5 /rest_framework/request.py
parente126b615420fed12af58675cb4bb52e749b006bd (diff)
downloaddjango-rest-framework-fed235dd0135c3eb98bb218a51f01ace5ddd3782.tar.bz2
Make settings consistent with corrosponding view attributes
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 b212680f..5870be82 100644
--- a/rest_framework/request.py
+++ b/rest_framework/request.py
@@ -92,7 +92,7 @@ class Request(object):
self.parser_context['request'] = self
def _default_negotiator(self):
- return api_settings.DEFAULT_CONTENT_NEGOTIATION()
+ return api_settings.DEFAULT_CONTENT_NEGOTIATION_CLASS()
@property
def method(self):