2.将from django.contrib.staticfiles.templatetags.staticfiles import static
from django.templatetags.static import static