add docstring for news from carousel
This commit is contained in:
parent
6260a1f9c3
commit
75c389d5b9
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user