Consolidate the docstring of the API methods into a class docstring.

Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
Michael Price
2018-03-13 18:13:24 -04:00
committed by Roberto Rosario
parent ff9e291cd7
commit 1fc06a350b
18 changed files with 273 additions and 1132 deletions

View File

@@ -15,7 +15,7 @@ class APIRoot(APIView):
def get(self, request, format=None):
"""
Return a list of all users.
get: Return a list of all endpoints.
"""
endpoint_enumerator = EndpointEnumerator()
@@ -32,5 +32,4 @@ class BrowseableObtainAuthToken(ObtainAuthToken):
"""
Obtain an API authentication token.
"""
renderer_classes = (renderers.BrowsableAPIRenderer, renderers.JSONRenderer)