Merge pull request #2936 from edx/flowerhack/dark-lang-docs

Fixed confusing docstring
This commit is contained in:
Julia Hansbrough
2014-03-13 18:44:32 -04:00

View File

@@ -74,7 +74,7 @@ class DarkLangMiddleware(object):
def _activate_preview_language(self, request):
"""
If the request has the get parameter ``preview-lang``,
and that language appears doesn't appear in ``self.released_langs``,
and that language doesn't appear in ``self.released_langs``,
then set the session ``django_language`` to that language.
"""
if 'clear-lang' in request.GET: