add docstring for News document
This commit is contained in:
parent
af19896f41
commit
18e4f5377a
|
|
@ -17,7 +17,14 @@ from utils.pagination import ESDocumentPagination
|
|||
|
||||
|
||||
class NewsDocumentViewSet(BaseDocumentViewSet):
|
||||
"""News document ViewSet."""
|
||||
"""
|
||||
News document ViewSet.
|
||||
|
||||
**GET**
|
||||
```
|
||||
Implement getting list of News document.
|
||||
```
|
||||
"""
|
||||
|
||||
def get_queryset(self):
|
||||
qs = super(NewsDocumentViewSet, self).get_queryset()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user