Commit 378f70fa authored by Valentin Samir's avatar Valentin Samir

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

parent 4025fcbf
Pipeline #960 canceled with stage
......@@ -17,8 +17,9 @@ Added
Fixes
-----
* Fix checkbox position on the login page
* Checkbox position on the login page
* Set ldap3 client_strategy from sync to sync-restartable
* Deprecation warning for {% load staticfiles %} and django.contrib.staticfiles
v1.0.0 - 2019-01-12
===================
......
......@@ -11,7 +11,7 @@
# (c) 2015-2016 Valentin Samir
"""Default values for the app's settings"""
from django.conf import settings
from django.contrib.staticfiles.templatetags.staticfiles import static
from django.templatetags.static import static
from django.utils.translation import ugettext_lazy as _
from importlib import import_module
......
{% 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">
......
{% extends "cas_server/base.html" %}
{% load staticfiles %}
{% load static %}
{% load i18n %}
{% block content %}
<div class="alert alert-success" role="alert">{{logout_msg}}</div>
......
{% extends "cas_server/base.html" %}
{% load staticfiles %}
{% load static %}
{% load i18n %}
{% block content %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment