What is the difference between {% load staticfiles %} and {% load static %}

前端 未结 5 1633
说谎
说谎 2020-12-07 18:52

The most important part of the question is in the topic.

I am wondering what tag is best for which case. Moreover... I found code, that also use settings.STATI

5条回答
  •  情深已故
    2020-12-07 19:33

    {% load staticfiles %} is very helpful when you are using different storages like S3, then it will convert into the S3 URLs

提交回复
热议问题