Revision ec06b07c ui/i18n.py

b/ui/i18n.py
14 14
    response = http.HttpResponseRedirect(next)
15 15
    if request.method == 'GET':
16 16
        lang_code = request.GET.get('l', None)
17
        print 'print einai:', lang_code
18

  
19 17
        if lang_code and check_for_language(lang_code):
20 18
            if hasattr(request, 'session'):
21 19
                request.session['django_language'] = lang_code
22 20
            else:
23 21
                response.set_cookie(settings.LANGUAGE_COOKIE_NAME, lang_code)
24
    print 'tora einai:', lang_code
25 22
    return response

Also available in: Unified diff