This commit is contained in:
bkfox
2017-08-21 16:05:14 +02:00
parent 3a44c2d479
commit bb185a02d4
4 changed files with 16 additions and 3 deletions

View File

@ -484,6 +484,7 @@ class ProgramPage(Publication):
def save(self, *args, **kwargs):
# set publish_as
if self.program and not self.pk:
super().save()
self.publish_as = self
super().save(*args, **kwargs)