From 778639def8f70c1c1e9f205db45da0f490591870 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 18 Oct 2011 21:37:03 +0200 Subject: [PATCH] id in response --- oxdata/movie/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oxdata/movie/models.py b/oxdata/movie/models.py index 31c2e03..aaa0564 100644 --- a/oxdata/movie/models.py +++ b/oxdata/movie/models.py @@ -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'):