collective / collective.taxonomy

Create, edit and use hierarchical taxonomies in Plone!
https://pypi.org/project/collective.taxonomy/
19 stars 24 forks source link

plone.synchronize is missing, in the default Plone6 Installation the import is broken #120

Closed 1letter closed 2 years ago

1letter commented 2 years ago

Whats the preferred way?

plone.synchronize should added to setup.py in the 'install_requires' - section

or

alternative an import from plone.dexterity >= 2.10.5

yurj commented 2 years ago
try:
    # Plone 6
    from plone.dexterity.synchronize import synchronized
except ImportError:
    # Plone 5
    from plone.syncronize.decorator import synchronized