add docstring for establishment subtype
This commit is contained in:
parent
2151c36d92
commit
58c4ab8788
|
|
@ -567,7 +567,20 @@ class EstablishmentTypeRUDView(generics.RetrieveUpdateDestroyAPIView):
|
|||
|
||||
|
||||
class EstablishmentSubtypeListCreateView(generics.ListCreateAPIView):
|
||||
"""Establishment subtype list/create view."""
|
||||
"""
|
||||
Establishment subtype list/create view.
|
||||
|
||||
**GET**
|
||||
```
|
||||
Implement getting establishment subtype.
|
||||
```
|
||||
|
||||
**POST**
|
||||
```
|
||||
Implement create establishment subtype.
|
||||
```
|
||||
|
||||
"""
|
||||
serializer_class = serializers.EstablishmentSubTypeBaseSerializer
|
||||
queryset = models.EstablishmentSubType.objects.select_related('default_image')
|
||||
pagination_class = None
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user