ignore broken poster frames

This commit is contained in:
j 2019-11-02 17:14:35 +01:00
parent 9881bfa62a
commit 05aa23166e

View file

@ -271,6 +271,7 @@ class List(models.Model):
self.save()
for i in self.poster_frames:
from item.models import Item
if 'item' in i:
qs = Item.objects.filter(public_id=i['item'])
if qs.count() > 0:
if i.get('position'):