django-cms / djangocms-alias

Other
8 stars 23 forks source link

fix: Simplify versioning interaction for better disentanglement #182

Closed fsbraun closed 1 year ago

fsbraun commented 1 year ago

This PR removes an unnecessary import of djangocms_versioning.helpers.remove_published_where. By importing this helper function, alias implicitly makes a very precise assumption on how versioning works which it should not.

This helper function is replaced by the admin_manager of the content model.

This disentanglement is necessary to allow for alternative versioning packages to work with alias.