From 149e34dc9f4297545ea592dfeda8d0f0870b481a Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 3 Jan 2013 06:45:49 +0530 Subject: [PATCH] oops, YoutubeVideo --- itf/app/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itf/app/models.py b/itf/app/models.py index f615bcc..da06c5d 100755 --- a/itf/app/models.py +++ b/itf/app/models.py @@ -98,7 +98,7 @@ class ItfModel(models.Model): from mediagallery.models import YoutubeVideo if self.galleries: - qset = Youtube.objects.filter(album__in=self.galleries.all()) + qset = YoutubeVideo.objects.filter(album__in=self.galleries.all()) if qset.count() == 0: return False return qset[0:9]