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

No module named 'django.contrib.staticfiles.templatetags' #4

Open
jgaonadev opened this issue Apr 27, 2020 · 1 comment
Open

No module named 'django.contrib.staticfiles.templatetags' #4

jgaonadev opened this issue Apr 27, 2020 · 1 comment

Comments

@jgaonadev
Copy link

incompatibility with django = 3.0.4

error
File "/home/user/Escritorio/env/lib/python3.6/site-packages/bootstrap_select/widgets.py", line 1, in <module> from django.contrib.staticfiles.templatetags.staticfiles import static ModuleNotFoundError: No module named 'django.contrib.staticfiles.templatetags'

@ThomasDeudon
Copy link

For the record : this should be resolved by replacing the first line of the widgets.py to :
from django.templatetags.static import static

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