Commit 160d10d3 by Tom Christie

Fix docstring

parent c5cf51cf
......@@ -211,13 +211,13 @@ class APIView(View):
def get_parsers(self):
"""
Instantiates and returns the list of renderers that this view can use.
Instantiates and returns the list of parsers that this view can use.
"""
return [parser() for parser in self.parser_classes]
def get_authenticators(self):
"""
Instantiates and returns the list of renderers that this view can use.
Instantiates and returns the list of authenticators that this view can use.
"""
return [auth() for auth in self.authentication_classes]
......
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