Browse Source

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

tags/v1.10.3
Danielle McLean 1 year ago
parent
commit
1bf0d8478a
Signed by: 00dani <dani@00dani.me> GPG Key ID: 8EB789DDF3ABD240
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      wellknowns/views/static.py

+ 1
- 1
wellknowns/views/static.py View File

@@ -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