Consolidate the docstring of the API methods into a class docstring.
Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
committed by
Roberto Rosario
parent
ff9e291cd7
commit
1fc06a350b
@@ -11,6 +11,5 @@ class APIContentTypeList(generics.ListAPIView):
|
||||
"""
|
||||
Returns a list of all the available content types.
|
||||
"""
|
||||
|
||||
serializer_class = ContentTypeSerializer
|
||||
queryset = ContentType.objects.order_by('app_label', 'model')
|
||||
|
||||
Reference in New Issue
Block a user