add docstring for establishment from carousel

This commit is contained in:
Александр Пархомин 2020-02-05 18:24:54 +03:00
parent b859792b8c
commit 06a215060f

View File

@ -226,7 +226,20 @@ class EstablishmentFavoritesCreateDestroyView(FavoritesCreateDestroyMixinView):
class EstablishmentCarouselCreateDestroyView(CarouselCreateDestroyMixinView):
"""View for create/destroy establishment from carousel."""
"""
EstablishmentCarousel by slug create/destroy establishment from carousel.
**POST**
```
Implement create EstablishmentCarousel method
```
**DELETE**
```
Implement delete EstablishmentCarousel method
```
"""
lookup_field = 'slug'
_model = models.Establishment