Make static work with CachedStaticFilesStorage

`django.templatetags.static.static` doesn't return the hashed URL,
but `django.contrib.staticfiles.templatetags.staticfiles.static` does.
This commit is contained in:
Quantum 2015-08-26 16:38:26 -04:00
parent 992ad4de01
commit 5137c043ed

View file

@ -1,5 +1,5 @@
from django.conf import settings
from django.templatetags.static import static
from django.contrib.staticfiles.templatetags.staticfiles import static
from . import __BOOTSTRAP as BOOTSTRAP