forked from 00dani/lemoncurry
Placate a deprecation warning from Django by importing 'static' from a different module
This commit is contained in:
parent
594947852f
commit
1bf0d8478a
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
from django.views.generic.base import RedirectView
|
from django.views.generic.base import RedirectView
|
||||||
from django.contrib.staticfiles.templatetags.staticfiles import static
|
from django.templatetags.static import static
|
||||||
|
|
||||||
|
|
||||||
def redirect_to_static(file):
|
def redirect_to_static(file):
|
||||||
|
|
Loading…
Reference in a new issue