From a8fc081dc90da6d2050eb3989bc16da1533a89a8 Mon Sep 17 00:00:00 2001 From: pythonwood <582223837@qq.com> Date: Mon, 14 Dec 2020 19:59:26 +0800 Subject: [PATCH] django 3 support. change to {% load static %} https://docs.djangoproject.com/en/3.0/releases/3.0/#features-removed-in-3-0 --- .../templates/rest_framework_swagger/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework_swagger/templates/rest_framework_swagger/index.html b/rest_framework_swagger/templates/rest_framework_swagger/index.html index b2de7bb4..13ef5c5e 100644 --- a/rest_framework_swagger/templates/rest_framework_swagger/index.html +++ b/rest_framework_swagger/templates/rest_framework_swagger/index.html @@ -1,5 +1,5 @@ {% load i18n %} -{% load staticfiles %} +{% load static %}