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

Missing static file for select2 i18n - wrong path? #1108

Closed
philgyford opened this issue Jul 21, 2019 · 2 comments
Closed

Missing static file for select2 i18n - wrong path? #1108

philgyford opened this issue Jul 21, 2019 · 2 comments

Comments

@philgyford
Copy link

I'm using the dal.autocomplete.TaggitSelect2() widget in my app's admin and, after collecting static files and loading the "add" page for my Django model, the console shows that the file
/static/vendor/select2/i18n/en.js 404s.

I think the path should be /static/vendor/select2/dist/i18n/en.js - i.e. the version in use is missing the dist directory.

I'm guessing the error is in this line in dal_select2/widgets.py ?

I'm using v3.4.0.

@philgyford philgyford changed the title Missing static file for select2 - wrong path? Missing static file for select2 i18n - wrong path? Jul 21, 2019
philgyford added a commit to philgyford/django-hines that referenced this issue Jul 21, 2019
Getting an error about a missing static file with dal v3.4.0. Going
back to v3.3.5 seems to fix it.

yourlabs/django-autocomplete-light#1108
@philgyford
Copy link
Author

Reverting to v3.3.5 fixed the error.

@jpic jpic closed this as completed in f90b755 Jul 21, 2019
@jpic
Copy link
Member

jpic commented Jul 21, 2019

Thank you very much for your report !
Fixed in 3.4.1 release.

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