mirror of
https://github.com/Hopiu/django-select2.git
synced 2026-04-18 20:21:02 +00:00
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:
parent
992ad4de01
commit
5137c043ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue