From a4df1ae9a5508c758074bac634cd97993b33ab01 Mon Sep 17 00:00:00 2001 From: Skia Date: Wed, 24 Aug 2016 19:11:09 +0200 Subject: [PATCH] Add language chooser --- core/templates/core/base.jinja | 10 ++++++++++ sith/settings_sample.py | 5 +++++ sith/urls.py | 1 + 3 files changed, 16 insertions(+) diff --git a/core/templates/core/base.jinja b/core/templates/core/base.jinja index 6c46225f..a978460b 100644 --- a/core/templates/core/base.jinja +++ b/core/templates/core/base.jinja @@ -34,6 +34,16 @@
{{ user.get_display_name() }}
{% endif %} {% endblock %} + +
+ {% for language in LANGUAGES %} +
{% csrf_token %} + + +
+ {% endfor %} +
+ {% block nav %} {% if not popup %}