##// END OF EJS Templates
pyramid: fix problem with default language for users without any explicit one set.
marcink -
r1919:4f4ecf65 default
parent child Browse files
Show More
@@ -278,7 +278,7 b' def get_current_lang(request):'
278 except:
278 except:
279 pass
279 pass
280
280
281 return getattr(request, '_LOCALE_', None)
281 return getattr(request, '_LOCALE_', request.locale_name)
282
282
283
283
284 def attach_context_attributes(context, request, user_id):
284 def attach_context_attributes(context, request, user_id):
General Comments 0
You need to be logged in to leave comments. Login now