From: Radek Czajka Date: Fri, 6 Oct 2023 13:06:22 +0000 (+0200) Subject: fix X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/8ba1ce3bd12a74099c4287d2bafbabcc73c648b3?ds=sidebyside fix --- diff --git a/src/depot/models.py b/src/depot/models.py index 15c0d3a8..0f26a19f 100644 --- a/src/depot/models.py +++ b/src/depot/models.py @@ -172,7 +172,7 @@ class SiteBookPublish(models.Model): self.sitechunkpublish_set.order_by('change__chunk__number') ] - self.site.publish(self, changes=changes) + self.site_book.site.publish(self, changes=changes) except Exception: self.status = 110