diff --git a/project/accounts/views/doctor.py b/project/accounts/views/doctor.py index 501e58c..a802a61 100644 --- a/project/accounts/views/doctor.py +++ b/project/accounts/views/doctor.py @@ -27,7 +27,7 @@ class DoctorViewSet(viewsets.ModelViewSet): rest_filters.SearchFilter, rest_filters.OrderingFilter, ] - filterset_class = PatientFilter + filterset_class = DoctorFilter def create(self , request, *args, **kwargs):