Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for django-entangle version 0.6 #235

Open
rose-pace opened this issue Sep 30, 2024 · 2 comments
Open

Add support for django-entangle version 0.6 #235

rose-pace opened this issue Sep 30, 2024 · 2 comments

Comments

@rose-pace
Copy link

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
Copy link
Member

fsbraun commented Sep 30, 2024

@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
Copy link

pwhipp commented Nov 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants