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

load staticfiles is depricated #7

Open
dwargo opened this issue Dec 28, 2019 · 1 comment
Open

load staticfiles is depricated #7

dwargo opened this issue Dec 28, 2019 · 1 comment

Comments

@dwargo
Copy link

dwargo commented Dec 28, 2019

{% load staticfiles %}<!DOCTYPE html>

For modern versions this should be:

{% load staticfiles %}

Fixing this and removing the {% load url from future %} in the created templates as mentioned by jillson seems to be all that is needed for modern django versions.

Awesome project, thank you for making it available.

@frague59
Copy link

+1

frague59 pushed a commit to frague59/django-html5-boilerplate that referenced this issue Feb 12, 2020
+ Replaces {% load staticfiles %} with {% load static %}
+ Updates the docs
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