diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d7135d2..61c12d2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -17,6 +17,8 @@ Fixed ----- * Fix BootsrapForm: placeholder on Input and Textarea only, use class form-control on Input, Select and Textarea. +* Fix lang attribute in django 1.7. On html pages, the lang attribute of the was not + present in django 1.7. We use now a methode to display it that is also available in django 1.7 v0.7.1 - 2016-08-24 diff --git a/cas_server/templates/cas_server/base.html b/cas_server/templates/cas_server/base.html index 2a2d8e1..a3dd3a7 100644 --- a/cas_server/templates/cas_server/base.html +++ b/cas_server/templates/cas_server/base.html @@ -1,5 +1,5 @@ -{% load i18n %}{% load staticfiles %} - +{% load i18n %}{% load staticfiles %}{% get_current_language as LANGUAGE_CODE %} +