Stripe checkout #104411

Merged
Anna Sirota merged 61 commits from stripe into main 2024-06-17 18:08:41 +02:00
Showing only changes of commit 9b49dd05cd - Show all commits

View File

@ -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