id in response
This commit is contained in:
parent
727ea66f35
commit
778639def8
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class Imdb(models.Model):
|
|||
|
||||
def json(self):
|
||||
j = {}
|
||||
j['imdbId'] = self.imdb
|
||||
j['id'] = self.imdb
|
||||
for key in self.keys:
|
||||
j[key] = getattr(self, key)
|
||||
for key in ('director', 'episodeDirector'):
|
||||
|
|
Loading…
Reference in a new issue