keep originalTitle too
This commit is contained in:
parent
f82aefc6f0
commit
ed22ecbfb7
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue