From 7bbee07012dbec9281dc656a3f636b3d94f92048 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 29 Nov 2011 15:14:03 +0100 Subject: [PATCH] update poster after uploading frames --- pandora/archive/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora/archive/views.py b/pandora/archive/views.py index 137ad2cc..7857eff6 100644 --- a/pandora/archive/views.py +++ b/pandora/archive/views.py @@ -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: