fix
authorRadek Czajka <rczajka@rczajka.pl>
Fri, 6 Oct 2023 13:06:22 +0000 (15:06 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Fri, 6 Oct 2023 13:06:22 +0000 (15:06 +0200)
src/depot/models.py

index 15c0d3a..0f26a19 100644 (file)
@@ -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