From ed22ecbfb70bbf7ec7b81e928bc53f71d9b3bce6 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 27 Feb 2013 13:16:47 +0530 Subject: [PATCH] keep originalTitle too --- oxdata/movie/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oxdata/movie/models.py b/oxdata/movie/models.py index 194d5c8..a00904d 100644 --- a/oxdata/movie/models.py +++ b/oxdata/movie/models.py @@ -62,6 +62,7 @@ class Imdb(models.Model): imdb = models.CharField(max_length=7, unique=True) title = models.CharField(max_length=1000, blank=True, default='') + originalTitle = models.CharField(max_length=1000, blank=True, default='') year = models.CharField(max_length=4, blank=True, default='') director = models.CharField(max_length=9000, blank=True, default='') @@ -79,6 +80,7 @@ class Imdb(models.Model): return u"[%s] %s%s" % (self.imdb, self.title, self.year and ' (%s)' % self.year or '') keys = ('title', 'director', 'year', 'season', 'episode', + 'originalTitle', 'seriesTitle', 'episodeTitle', 'episodeYear', 'episodeDirector') def apply_patch(self, data):