from rest_framework import generics
from rest_framework.permissions import IsAuthenticatedOrReadOnly

from .models import HistoricalRelationship
from .serializers import HistoricalRelationshipSerializer


class HistoricalRelationshipList(generics.ListAPIView):
    queryset = HistoricalRelationship.objects.all()
    serializer_class = HistoricalRelationshipSerializer
    permission_classes = (IsAuthenticatedOrReadOnly,)

966b229c8c370b303bf2df9b8653c328de11031c
<mask token>

<mask token>


class HistoricalRelationshipList(generics.ListAPIView):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class HistoricalRelationshipList(generics.ListAPIView):
    queryset = HistoricalRelationship.objects.all()
    serializer_class = HistoricalRelationshipSerializer
    permission_classes = IsAuthenticatedOrReadOnly,

from rest_framework import generics
from rest_framework.permissions import IsAuthenticatedOrReadOnly
from .models import HistoricalRelationship
from .serializers import HistoricalRelationshipSerializer


class HistoricalRelationshipList(generics.ListAPIView):
    queryset = HistoricalRelationship.objects.all()
    serializer_class = HistoricalRelationshipSerializer
    permission_classes = IsAuthenticatedOrReadOnly,

from rest_framework import generics
from rest_framework.permissions import IsAuthenticatedOrReadOnly

from .models import HistoricalRelationship
from .serializers import HistoricalRelationshipSerializer


class HistoricalRelationshipList(generics.ListAPIView):
    queryset = HistoricalRelationship.objects.all()
    serializer_class = HistoricalRelationshipSerializer
    permission_classes = (IsAuthenticatedOrReadOnly,)
