load width/height into db after saving frame
This commit is contained in:
parent
76bbe09a05
commit
7eb30d9776
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ def upload(request):
|
||||||
fr.frame.delete()
|
fr.frame.delete()
|
||||||
fr.frame.save(name, frame)
|
fr.frame.save(name, frame)
|
||||||
os.chmod(fr.frame.path, 0644)
|
os.chmod(fr.frame.path, 0644)
|
||||||
|
fr.save()
|
||||||
f.item.select_frame()
|
f.item.select_frame()
|
||||||
f.item.save()
|
f.item.save()
|
||||||
item.tasks.update_poster.delay(f.item.public_id)
|
item.tasks.update_poster.delay(f.item.public_id)
|
||||||
|
|
Loading…
Reference in a new issue