


class FacultyListView(generics.ListAPIView):
    """API view for faculty lists"""
    queryset = Faculty.objects.all()
    serializer_class = FacultySerializer
    # authentication_classes = (authentication.TokenAuthentication,)
    # permission_classes = (permissions.IsAuthenticated,)
    filter_backends = [DjangoFilterBackend,]