fix public poster width/height names

This commit is contained in:
j 2010-07-05 10:38:53 +02:00
parent c150e7f8a8
commit bae4c6a165

View File

@ -375,8 +375,8 @@ class Movie(models.Model):
'votes': 'votes', 'votes': 'votes',
'alternative_titles': 'alternative_titles', 'alternative_titles': 'alternative_titles',
'connections_json': 'connections', 'connections_json': 'connections',
'posterWidth': 'poster_width', 'poster_width': 'posterWidth',
'posterHeight': 'poster_height' 'poster_height': 'posterHeight'
} }
def get_json(self, fields=None): def get_json(self, fields=None):
movie = {} movie = {}