diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d7135d2ce3fcc294c83358d33168876396b063ea..61c12d2d5e1cf7199451685bc851d6d47e1083c5 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 2a2d8e1866b36a1fbc45567cd06696df85e1e08d..a3dd3a72e45c176e5dcea27b171ce9035cf2a839 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 %} +