'staticfiles' Is Not A Valid Tag Library: Template Library Staticfiles Not Found
I am trying django-oscar tutorial from http://django-oscar.readthedocs.org/en/latest/internals/getting_started.html , but I am getting a 'staticfiles' is not a valid tag library:
Solution 1:
If you're running Django 3 and were on an older version before, you need to replace:
{% load static from staticfiles %}
or {% load staticfiles %}
with just:
{% load static %}
Solution 2:
You need to add
django.contrib.staticfiles
to INSTALLED_APPS
Post a Comment for "'staticfiles' Is Not A Valid Tag Library: Template Library Staticfiles Not Found"