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

Template file incompatible with Django 3.0+ #2

Open
cbahn opened this issue Feb 28, 2021 · 0 comments
Open

Template file incompatible with Django 3.0+ #2

cbahn opened this issue Feb 28, 2021 · 0 comments

Comments

@cbahn
Copy link

cbahn commented Feb 28, 2021

I had trouble running this example on Django 3.1.7
It seems that the issue is with line 1 of booksite/templates/index.html
{% load staticfiles %} has been removed as of Django 3.0
Changing it to {% load static %} resolves the issue
If you would prefer to leave it as is, you may consider updating the readme to mention that the code is not compatible with Django 3.0+

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

1 participant