django-rest-swagger
django-rest-swagger copied to clipboard
change staticfiles tag to static
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.
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.
the pb still exist, please merge to resolve this isuue