django-cms / djangocms-history

Provides undo/redo functionality for django CMS operations
https://www.django-cms.org
Other
28 stars 13 forks source link

Add compatibility for djangocms-cascade #21

Closed haricot closed 6 years ago

haricot commented 6 years ago

Summary

Fixes # djangocms-cascade don't work with djangocms-history.

Links to related discussion

https://github.com/jrief/djangocms-cascade/issues/234

Proposed changes in this pull request

I propose to filter the ArchivedPlugin function when it encounters a model key. I think that should not alter the way things work.

haricot commented 6 years ago

Apparently not necessary modification for the future djangocms-cascade version. And maybe custom operations and actions djangocms_history/models.py#L35 is better intergation for cascade.