aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2013-10-24 13:45:16 +0100
committerTom Christie2013-10-24 13:45:16 +0100
commit63023078856e78fa043df96378137fd7acc2c1de (patch)
treef510dc44b83ef2cc5040d39e43224f56d777f7e2
parentf92d8bd9721d788e3017c16fb285189c88112a46 (diff)
downloaddjango-rest-framework-63023078856e78fa043df96378137fd7acc2c1de.tar.bz2
Update comment in `get_parser_context`.
-rw-r--r--rest_framework/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/views.py b/rest_framework/views.py
index 853e6461..e863af6d 100644
--- a/rest_framework/views.py
+++ b/rest_framework/views.py
@@ -154,8 +154,8 @@ class APIView(View):
Returns a dict that is passed through to Parser.parse(),
as the `parser_context` keyword argument.
"""
- # Note: Additionally `request` will also be added to the context
- # by the Request object.
+ # Note: Additionally `request` and `encoding` will also be added
+ # to the context by the Request object.
return {
'view': self,
'args': getattr(self, 'args', ()),