Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

change staticfiles tag to static #831

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marvelous-ikechi
Copy link

The index.html file in the templates folder contains a load "staticfiles" import which I assume is for using the static tag.

However, this returns an error since this isn't the load command django recommends for static files. Hence, I changed:

{% load staticfiles %}

to

{% load static %}.

After this, it no longer throws the error of not recognizing the load staticfiles import.

Copy link

@abdulwahid24 abdulwahid24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be considered on high priority because the latest version of Django doesn't work because of the staticfiles tag depreciation.

@marvelous-ikechi
Copy link
Author

I think this should be considered on high priority because the latest version of Django doesn't work because of the staticfiles tag depreciation.

Definitely. I always have to create a new file to address this now.

@jadliaissam
Copy link

the pb still exist, please merge to resolve this isuue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants