forked from 0x2620/pandora
merge changes from pandora
This commit is contained in:
commit
afa4e9c584
4 changed files with 11 additions and 9 deletions
|
|
@ -189,7 +189,7 @@ class Movie(models.Model):
|
|||
poster = {}
|
||||
poster['width'] = self.poster_width
|
||||
poster['height'] = self.poster_height
|
||||
poster['url'] = '/poster/%s.jpg' % self.movieId
|
||||
poster['url'] = '/%s/poster.jpg' % self.movieId
|
||||
'''
|
||||
if self.poster:
|
||||
poster['url'] = self.poster.url
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue