add docstring for news from carousel

This commit is contained in:
Александр Пархомин 2020-02-10 10:51:01 +03:00
parent 6260a1f9c3
commit 75c389d5b9

View File

@ -333,7 +333,19 @@ class NewsFavoritesCreateDestroyView(FavoritesCreateDestroyMixinView):
class NewsCarouselCreateDestroyView(CarouselCreateDestroyMixinView):
"""View for create/destroy news from carousel."""
"""
View for create/destroy news from carousel.
**POST**
```
Implement create news from carousel.
```
**DELETE**
```
Implement delete news from carousel.
```
"""
_model = models.News
serializer_class = serializers.NewsCarouselCreateSerializer