Fix deprecation warning for {% load staticfiles %} and django.contrib.staticfiles

This commit is contained in:
Valentin Samir
2019-03-02 11:31:18 +01:00
parent 4025fcbf11
commit 378f70fac9
5 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{% load i18n %}{% load staticfiles %}{% get_current_language as LANGUAGE_CODE %}<!DOCTYPE html>
{% load i18n %}{% load static %}{% get_current_language as LANGUAGE_CODE %}<!DOCTYPE html>
<html{% if LANGUAGE_CODE %} lang="{{LANGUAGE_CODE}}"{% endif %}>
<head>
<meta charset="utf-8">

View File

@ -1,5 +1,5 @@
{% extends "cas_server/base.html" %}
{% load staticfiles %}
{% load static %}
{% load i18n %}
{% block content %}
<div class="alert alert-success" role="alert">{{logout_msg}}</div>

View File

@ -1,5 +1,5 @@
{% extends "cas_server/base.html" %}
{% load staticfiles %}
{% load static %}
{% load i18n %}
{% block content %}