add docstring for NewsBackOfficeLCView
This commit is contained in:
parent
893eb6e877
commit
af19896f41
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user