update poster after uploading frames
This commit is contained in:
parent
4d8879e02d
commit
7bbee07012
1 changed files with 2 additions and 0 deletions
|
@ -147,6 +147,8 @@ def upload(request):
|
|||
fr, created = models.Frame.objects.get_or_create(file=f, position=position)
|
||||
fr.frame.save(name, frame)
|
||||
f.item.select_frame()
|
||||
f.item.save()
|
||||
item.tasks.update_poster.delay(f.item.itemId)
|
||||
else:
|
||||
response = json_response(status=403, text='permissino denied')
|
||||
if 'file' in request.FILES:
|
||||
|
|
Loading…
Reference in a new issue