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

Not compatible to Django 3 #13

Open
kakulukia opened this issue Jun 16, 2020 · 3 comments
Open

Not compatible to Django 3 #13

kakulukia opened this issue Jun 16, 2020 · 3 comments

Comments

@kakulukia
Copy link

File "/Users/andy/projects/po-website/.venv/lib/python3.8/site-packages/livepreview/wagtail_hooks.py", line 9, in

from django.contrib.staticfiles.templatetags.staticfiles import static

ModuleNotFoundError: No module named 'django.contrib.staticfiles.templatetags'

@kakulukia
Copy link
Author

So sad .. just found it and wanted to try it out right away, but :(

@KalobTaulien
Copy link
Owner

@kakulukia this would be a really easy PR, and I'd welcome it!

The solution here to swap out the import as outlined in this Stack Overflow answer: https://stackoverflow.com/a/62266193/2074077

@jkevingutierrez
Copy link
Contributor

jkevingutierrez commented Aug 5, 2020

I can see that this was already fixed:

dfd2e0e#diff-c362f83e8ab2a82177126485b9e8e7c2R9

But trying to install wagtail-livepreview using pip, installs an old version without those changes.

It would be good to have the latest version published

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