django-rest-swagger icon indicating copy to clipboard operation
django-rest-swagger copied to clipboard

change staticfiles tag to static

Open marvelous-ikechi opened this issue 3 years ago • 2 comments

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.

marvelous-ikechi avatar Jul 09 '20 07:07 marvelous-ikechi

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.

marvelous-ikechi avatar Jul 31 '20 20:07 marvelous-ikechi

the pb still exist, please merge to resolve this isuue

jadliaissam avatar Aug 22 '20 16:08 jadliaissam