from ..serializers.event import EventSerializer
from ..models.event import Event
from rest_framework.viewsets import GenericViewSet, mixins


class EventView(GenericViewSet, mixins.RetrieveModelMixin, mixins.
    ListModelMixin):
    serializer_class = EventSerializer
    queryset = Event.objects.all()

e2bd4c47b503e1a5c85ad95705d38bd9c5ba724b
<mask token>

<mask token>


class EventView(GenericViewSet, mixins.RetrieveModelMixin, mixins.
    ListModelMixin):
    <mask token>
    <mask token>

<mask token>


class EventView(GenericViewSet, mixins.RetrieveModelMixin, mixins.
    ListModelMixin):
    serializer_class = EventSerializer
    queryset = Event.objects.all()

from ..serializers.event import EventSerializer
from ..models.event import Event
from rest_framework.viewsets import GenericViewSet, mixins


class EventView(GenericViewSet, mixins.RetrieveModelMixin, mixins.
    ListModelMixin):
    serializer_class = EventSerializer
    queryset = Event.objects.all()
