forked from 0x2620/pandora
update poster aspect on poster update
This commit is contained in:
parent
dcaa9d0817
commit
c531fb68c4
1 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,8 @@ def update_poster(itemId):
|
||||||
item.make_icon()
|
item.make_icon()
|
||||||
models.Item.objects.filter(pk=item.id).update(
|
models.Item.objects.filter(pk=item.id).update(
|
||||||
poster=item.poster.name,
|
poster=item.poster.name,
|
||||||
|
poster_height=item.poster.height,
|
||||||
|
poster_width=item.poster.width,
|
||||||
icon=item.icon.name
|
icon=item.icon.name
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue