From ca48b997185f9974e15759cc576c13e78d786ec3 Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 9 Apr 2012 04:01:16 +0530 Subject: [PATCH] adjust talk model for padmaclip --- itf/festival/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/itf/festival/models.py b/itf/festival/models.py index e27bf6f..8fde48f 100755 --- a/itf/festival/models.py +++ b/itf/festival/models.py @@ -3,7 +3,7 @@ import datetime import time from ckeditor.fields import RichTextField from app.models import ItfModel -from padmavideos.models import PadmaVideo +from padmavideos.models import PadmaClip from django.contrib.contenttypes import generic class Comment(models.Model): @@ -132,7 +132,7 @@ class Talk(models.Model): intro = models.TextField(blank=True, null=True) presenter = models.CharField(max_length=255, blank=True) session = models.ForeignKey('Session') # name of meeting - name of session - videos = generic.GenericRelation(PadmaVideo) + videos = generic.GenericRelation(PadmaClip) def __unicode__(self): return "%s - %s" % (self.session.day.meeting.title, self.title) # name of meeting - name of session