Skip to content

Commit

Permalink
Delete unussed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
DEENUU1 committed Jan 5, 2024
1 parent 4634b3b commit c8e643d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions candidates/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
from rest_framework.views import APIView
from rest_framework.viewsets import ViewSet
from rest_framework.generics import CreateAPIView, ListAPIView
from company.models import Company
from fjob.pagination import CustomPagination
from .models import Candidate
from .serializers import (
CandidateCompanyListSerializer,
Expand All @@ -16,7 +14,6 @@
)
from company.permissions import IsCompanyUser
from rest_framework.filters import OrderingFilter
from offer.models import JobOffer
from django_filters import rest_framework as filters


Expand Down Expand Up @@ -50,7 +47,6 @@ def partial_update(self, request, pk=None):
class CandidateCompanyListView(ListAPIView):
queryset = Candidate.objects.all()
serializer_class = CandidateCompanyListSerializer
# pagination_class = CustomPagination
filter_backends = (filters.DjangoFilterBackend, OrderingFilter)
permission_classes = [IsAuthenticated, IsCompanyUser]

Expand Down

0 comments on commit c8e643d

Please sign in to comment.