From 8a4b05df6b4c95d89ae79e7ad1039f3a94490218 Mon Sep 17 00:00:00 2001 From: MohamedHamed12 Date: Thu, 9 May 2024 06:27:01 +0300 Subject: [PATCH] fix doctor filter class --- project/accounts/views/doctor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):