AKModel.views.api module
- class AKModel.views.api.AKOwnerViewSet(**kwargs)[source]
Bases:
EventSlugMixin
,RetrieveModelMixin
,ListModelMixin
,GenericViewSet
API View: Owners (restricted to those of the given event) Read-only
- serializer_class
alias of
AKOwnerSerializer
- class AKModel.views.api.AKCategoryViewSet(**kwargs)[source]
Bases:
EventSlugMixin
,RetrieveModelMixin
,ListModelMixin
,GenericViewSet
API View: Categories (restricted to those of the given event) Read-only
- serializer_class
alias of
AKCategorySerializer
- class AKModel.views.api.AKTrackViewSet(**kwargs)[source]
Bases:
EventSlugMixin
,RetrieveModelMixin
,CreateModelMixin
,UpdateModelMixin
,DestroyModelMixin
,ListModelMixin
,GenericViewSet
API View: Tracks (restricted to those of the given event) Read, Write, Delete
- serializer_class
alias of
AKTrackSerializer
- class AKModel.views.api.AKViewSet(**kwargs)[source]
Bases:
EventSlugMixin
,RetrieveModelMixin
,UpdateModelMixin
,ListModelMixin
,GenericViewSet
API View: AKs (restricted to those of the given event) Read, Write
- serializer_class
alias of
AKSerializer
- class AKModel.views.api.RoomViewSet(**kwargs)[source]
Bases:
EventSlugMixin
,RetrieveModelMixin
,ListModelMixin
,GenericViewSet
API View: Rooms (restricted to those of the given event) Read-only
- serializer_class
alias of
RoomSerializer
- class AKModel.views.api.AKSlotViewSet(**kwargs)[source]
Bases:
EventSlugMixin
,RetrieveModelMixin
,CreateModelMixin
,UpdateModelMixin
,ListModelMixin
,GenericViewSet
API View: AK slots (restricted to those of the given event) Read, Write
- serializer_class
alias of
AKSlotSerializer