From 04ee889498a22ca177f707143792c0cef921f69a Mon Sep 17 00:00:00 2001 From: Awais Qureshi <awais.qureshi@arbisoft.com> Date: Wed, 15 Jul 2020 12:05:38 +0500 Subject: [PATCH] BOM-1895 {% load staticfiles %} is deprecated in favor of {% load static %}. --- lms/templates/logout.html | 2 +- lms/templates/main_django.html | 2 +- lms/templates/wiki/base.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lms/templates/logout.html b/lms/templates/logout.html index 8dbeb92ba5e..48a9428c84d 100644 --- a/lms/templates/logout.html +++ b/lms/templates/logout.html @@ -1,5 +1,5 @@ {% extends "main_django.html" %} -{% load i18n staticfiles %} +{% load i18n static %} {% load django_markup %} {% block title %}{% trans "Signed Out" as tmsg %}{{ tmsg | force_escape }} | {{ block.super }}{% endblock %} diff --git a/lms/templates/main_django.html b/lms/templates/main_django.html index a9125bc063a..5a858546fdc 100644 --- a/lms/templates/main_django.html +++ b/lms/templates/main_django.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -{% load sekizai_tags i18n configuration theme_pipeline optional_include staticfiles %} +{% load sekizai_tags i18n configuration theme_pipeline optional_include static %} <html lang="{{LANGUAGE_CODE}}"> <head> <meta charset="UTF-8"> diff --git a/lms/templates/wiki/base.html b/lms/templates/wiki/base.html index ef6674ed59a..8ca99f2d5d9 100644 --- a/lms/templates/wiki/base.html +++ b/lms/templates/wiki/base.html @@ -1,6 +1,6 @@ {% extends "main_django.html" %} {% with online_help_token="wiki" %} -{% load theme_pipeline %}{% load sekizai_tags i18n configuration %}{% load staticfiles %} +{% load theme_pipeline %}{% load sekizai_tags i18n configuration %}{% load static %} {% block title %} {% block pagetitle %}{% endblock %} | {% trans "Wiki" as tmsg%}{{tmsg|force_escape}} | {% platform_name %} -- GitLab