From af19896f4186346bf2df9dfb888522f9f3c3d99c 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 10:15:11 +0300 Subject: [PATCH] add docstring for NewsBackOfficeLCView --- apps/news/views.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/apps/news/views.py b/apps/news/views.py index 5071d79e..e72fb8b5 100644 --- a/apps/news/views.py +++ b/apps/news/views.py @@ -144,7 +144,19 @@ class NewsBackOfficeMixinView: class NewsBackOfficeLCView(NewsBackOfficeMixinView, generics.ListCreateAPIView): - """Resource for a list of news for back-office users.""" + """ + Resource for a list/create of news for back-office users. + + **GET** + ``` + Implement getting list of news for back-office users. + ``` + + **POST** + ``` + Implement create of news for back-office users. + ``` + """ serializer_class = serializers.NewsBackOfficeBaseSerializer filter_class = filters.NewsListFilterSet