From 4492ea5475fd7c27c2cfda17c5f105940a3f06e7 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 6 May 2014 19:47:22 -0400 Subject: [PATCH] Fixed #22586 -- Added LANGUAGE_SESSION_KEY to __all__. Thanks david.fischer.ch at gmail.com for the report. --- django/utils/translation/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/utils/translation/__init__.py b/django/utils/translation/__init__.py index 3803ade6b4..6be664550d 100644 --- a/django/utils/translation/__init__.py +++ b/django/utils/translation/__init__.py @@ -19,6 +19,7 @@ __all__ = [ 'ungettext', 'ungettext_lazy', 'pgettext', 'pgettext_lazy', 'npgettext', 'npgettext_lazy', + 'LANGUAGE_SESSION_KEY', ] LANGUAGE_SESSION_KEY = '_language'