Stripe checkout #104411
@ -142,6 +142,8 @@ class ProductionLogEntry(mixins.CreatedUpdatedMixin, models.Model):
|
|||||||
contributors_ids = set()
|
contributors_ids = set()
|
||||||
contributors = []
|
contributors = []
|
||||||
for asset in self.assets.all():
|
for asset in self.assets.all():
|
||||||
|
if not asset.static_asset:
|
||||||
|
return []
|
||||||
for contributor in asset.static_asset.contributors.all():
|
for contributor in asset.static_asset.contributors.all():
|
||||||
if contributor.pk in contributors_ids:
|
if contributor.pk in contributors_ids:
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user