Merge pull request #24494 from edx/BOM-1895-staticfiles-depr

Django3.0 warnings {% load staticfiles %} is deprecated
This commit is contained in:
Awais Qureshi
2020-07-15 20:46:26 +05:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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