This commit is contained in:
j 2013-07-24 11:30:00 +02:00
parent 85712a63b5
commit c9b9aa935f

View file

@ -108,7 +108,7 @@ class MovieId(models.Model):
# self.gen_oxdb_id()
self.save()
if self.imdb_id:
m, created = movie.models.Imdb.objects.get_or_create(imdb=self.movie_id.imdb_id)
m, created = movie.models.Imdb.objects.get_or_create(imdb=self.imdb_id)
m.update()
def gen_oxdb_id(self):