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

djangocms_link.forms is missing in 5.0.0 #231

Open
g3rb3n opened this issue Nov 30, 2024 · 1 comment
Open

djangocms_link.forms is missing in 5.0.0 #231

g3rb3n opened this issue Nov 30, 2024 · 1 comment

Comments

@g3rb3n
Copy link

g3rb3n commented Nov 30, 2024

Other packages seem to depend on djangocms_link.forms, like djangocms-bootstrap4:

File "../lib/python3.10/site-packages/djangocms_bootstrap4/contrib/bootstrap4_link/forms.py", line 4, in
from djangocms_link.forms import LinkForm

ModuleNotFoundError: No module named 'djangocms_link.forms'

If there is no intention to be backward compatible, then the djangocms-bootstrap4 authors should handle this.

@samex
Copy link

samex commented Dec 5, 2024

I resolved the ModuleNotFoundError by modifying the import statement in forms.py to

from djangocms_link.fields import LinkFormField

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

2 participants