Search code examples
django-cms

How to discard unpublished changes in django-cms?


I already found out there's no way to discard unpublished changes in django-cms from the Admin. Therefore I'm looking for a way to hotfix this from the shell via ORM.

I see there's a Page model which has 2 instances for each page, one public and one draft. Is it perhaps possible to discard those changes by copying some particular data from the public instance to the draft instance? Thanks.


Solution

  • From the Page menu you select "Revert to live" and that'll discard the draft changes.

    Page menu