1
1
mirror of https://github.com/encode/django-rest-framework.git synced 2025-07-23 06:29:58 +03:00

Fix docstring

This commit is contained in:
Tom Christie 2013-02-20 08:46:00 +00:00
parent c5cf51cf51
commit 160d10d348

View File

@ -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]