kopia lustrzana https://github.com/wagtail/wagtail
Don't clobber latest_revision_created_at
Fixes #756 This field was being set to None whenever a revision was pushed livepull/767/head
rodzic
046477ddc7
commit
8f72b2e6e3
|
@ -1034,6 +1034,7 @@ class PageRevision(models.Model):
|
|||
obj.has_unpublished_changes = self.page.has_unpublished_changes
|
||||
obj.owner = self.page.owner
|
||||
obj.locked = self.page.locked
|
||||
obj.latest_revision_created_at = self.page.latest_revision_created_at
|
||||
|
||||
return obj
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue