aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/response.py
diff options
context:
space:
mode:
authorSébastien Piquemal2012-02-10 10:18:39 +0200
committerSébastien Piquemal2012-02-10 10:18:39 +0200
commitdb0b01037a95946938ccd44eae14d8779bfff1a9 (patch)
tree120509363c6c1fa6491221a0b6d5835a9d84463e /djangorestframework/response.py
parent2cdff1b01e3aca6c56cef433e786e3ae75362739 (diff)
downloaddjango-rest-framework-db0b01037a95946938ccd44eae14d8779bfff1a9.tar.bz2
made suggested fixes
Diffstat (limited to 'djangorestframework/response.py')
-rw-r--r--djangorestframework/response.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/response.py b/djangorestframework/response.py
index 29fffed3..c5fdccbc 100644
--- a/djangorestframework/response.py
+++ b/djangorestframework/response.py
@@ -125,7 +125,7 @@ class Response(SimpleTemplateResponse):
return renderer, media_type
# No acceptable renderers were found
- raise ImmediateResponse(content={'detail': 'Could not satisfy the client\'s Accept header',
+ raise ImmediateResponse({'detail': 'Could not satisfy the client\'s Accept header',
'available_types': self._rendered_media_types},
status=status.HTTP_406_NOT_ACCEPTABLE,
renderers=self.renderers)