From 4b60a91225310e9f44ff90bd345338f9ddc5e8af Mon Sep 17 00:00:00 2001 From: mohsentaba Date: Mon, 5 Jan 2026 09:21:45 +0330 Subject: [PATCH] rate fixed. --- apps/bookmark/models/rate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/bookmark/models/rate.py b/apps/bookmark/models/rate.py index 41a5efa..c4326d1 100644 --- a/apps/bookmark/models/rate.py +++ b/apps/bookmark/models/rate.py @@ -93,8 +93,8 @@ class Rate(models.Model): from apps.podcast.models import PodcastPlaylist return PodcastPlaylist.objects.filter(id=content_id).exists() elif service == cls.ServiceChoices.HADITH: - from apps.hadith.models import Hadith - return Hadith.objects.filter(id=content_id).exists() + from apps.hadis.models import Hadis + return Hadis.objects.filter(id=content_id).exists() elif service == cls.ServiceChoices.VIDEO: from apps.video.models import Video return Video.objects.filter(id=content_id).exists()