Update comment in get_parser_context.

This commit is contained in:
Tom Christie 2013-10-24 13:45:16 +01:00
parent f92d8bd972
commit 6302307885

View File

@ -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', ()),