add docstring for establishment from carousel
This commit is contained in:
parent
b859792b8c
commit
06a215060f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user