django-cms / djangocms-frontend

django CMS frontend is a plugin bundle for django CMS providing several components for the frontend, currently implemented with the popular Bootstrap 5 framework.
Other
55 stars 22 forks source link

Add support for django-entangle version 0.6 #235

Open rose-pace opened 1 month ago

rose-pace commented 1 month ago

After the update of django-entangle to 0.6 I'm getting the following error while running python3 manage.py collectstatic --noinput:

CardLayoutForm.Meta.entangled_fields["config"] += extra_fields_row_cols.keys() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: type object 'Meta' has no attribute 'entangled_fields'

The release notes for version 0.6 mention adding support for Meta.fields. I'm rolling back to the previous version of django-entangle for now. It may also be worth updating documentation to reflect the supported versions of django-entangle.

fsbraun commented 1 month ago

@rose-pace Thanks for reporting this. Indeed, this probably is a bug in djangocms-frontend. For now, pinning to django-entangled<0.6 will help. djangocms-frontend 2.0 will require django-entangled>=0.6. I'll update the requirements.

pwhipp commented 3 weeks ago

django-entangled<0.6 in requirements.txt is an effective workaround for me while using djangocms-frontend==1.2.1.