From 5273cd9d9f728e53bfb145b3d2653f48d4c79888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=D0=9F=D0=B0=D1=80=D1=85=D0=BE=D0=BC=D0=B8=D0=BD?= Date: Mon, 10 Feb 2020 12:39:18 +0300 Subject: [PATCH] add docstring for ContentType --- apps/main/views/back.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/main/views/back.py b/apps/main/views/back.py index 5c73da5d..36bd4a3e 100644 --- a/apps/main/views/back.py +++ b/apps/main/views/back.py @@ -200,7 +200,12 @@ class AwardTypesListView(generics.ListAPIView): class ContentTypeView(generics.ListAPIView): - """ContentType list view""" + """ + ContentType list view + + ``` + Implement getting list of ContentType + """ queryset = ContentType.objects.all() serializer_class = serializers.ContentTypeBackSerializer permission_classes = get_permission_classes()