Don't clobber latest_revision_created_at

Fixes #756

This field was being set to None whenever a revision was pushed live
pull/767/head
Karl Hobley 2014-10-30 09:33:54 +00:00
rodzic 046477ddc7
commit 8f72b2e6e3
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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