mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
Fix docstring
This commit is contained in:
parent
c5cf51cf51
commit
160d10d348
|
@ -211,13 +211,13 @@ class APIView(View):
|
||||||
|
|
||||||
def get_parsers(self):
|
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]
|
return [parser() for parser in self.parser_classes]
|
||||||
|
|
||||||
def get_authenticators(self):
|
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]
|
return [auth() for auth in self.authentication_classes]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user