Browse Source

Placate a deprecation warning from Django by importing 'static' from a different module

pull/1/head
Danielle McLean 2 years ago
parent
commit
1bf0d8478a
Signed by: 00dani GPG Key ID: 8EB789DDF3ABD240
  1. 2
      wellknowns/views/static.py

2
wellknowns/views/static.py

@ -1,5 +1,5 @@
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):

Loading…
Cancel
Save