update poster aspect on poster update

This commit is contained in:
j 2012-07-01 12:17:04 +00:00
parent dcaa9d0817
commit c531fb68c4

View file

@ -51,6 +51,8 @@ def update_poster(itemId):
item.make_icon()
models.Item.objects.filter(pk=item.id).update(
poster=item.poster.name,
poster_height=item.poster.height,
poster_width=item.poster.width,
icon=item.icon.name
)