mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-09 08:00:52 +03:00
Update comment in get_parser_context
.
This commit is contained in:
parent
f92d8bd972
commit
6302307885
|
@ -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', ()),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user