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

Django 3 import error #44

Open
Sjk-Lacoste opened this issue Mar 2, 2020 · 5 comments
Open

Django 3 import error #44

Sjk-Lacoste opened this issue Mar 2, 2020 · 5 comments

Comments

@Sjk-Lacoste
Copy link

I get the following when am trying to run server on my local machine after setting up this module

django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'fontawesome.templatetags.fontawesome': No module named 'django.contrib.staticfiles.templatetags'

@gil-obradors
Copy link

gil-obradors commented May 10, 2020

Due to django 3 version,
https://docs.djangoproject.com/en/3.0/releases/2.1/#features-deprecated-in-2-1

venv/lib/python3.8/site-packages/fontawesome/templatetags/fontawesome.py

line 5 replace : from django.templatetags.static import static

@Sjk-Lacoste
Copy link
Author

Sjk-Lacoste commented May 10, 2020 via email

@htukiain
Copy link

How can we get this module into v1.2 with this change in that version? (https://pypi.org/project/django-fontawesome/) Always when I update my docker images I get this same error... (And thanks for a great module)!

@sagshome
Copy link

Any update on when we can see the support for django 3?

@massilva
Copy link

There is a PR "Add Django 3 Support #46 opened on 15 Dec 2020 by rsp2k". But it was not accept yet.

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

5 participants