Commit 63023078 by Tom Christie

Update comment in `get_parser_context`.

parent f92d8bd9
...@@ -154,8 +154,8 @@ class APIView(View): ...@@ -154,8 +154,8 @@ class APIView(View):
Returns a dict that is passed through to Parser.parse(), Returns a dict that is passed through to Parser.parse(),
as the `parser_context` keyword argument. as the `parser_context` keyword argument.
""" """
# Note: Additionally `request` will also be added to the context # Note: Additionally `request` and `encoding` will also be added
# by the Request object. # to the context by the Request object.
return { return {
'view': self, 'view': self,
'args': getattr(self, 'args', ()), 'args': getattr(self, 'args', ()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment