django.contrib.staticfiles.templatetags.staticfiles.static is gone in django 3

This commit is contained in:
Vidir Valberg Gudmundsson 2020-02-01 05:09:20 +01:00
parent 3f3f6ae909
commit c9f302e170

View file

@ -1,5 +1,5 @@
from django import template
from django.contrib.staticfiles.templatetags.staticfiles import static
from django.templatetags.static import static
register = template.Library()