|
|
|
@ -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() |
|
|
|
|