Commit ac6b9f8e by Julia Hansbrough

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

Fixed confusing docstring
parents 73d0d093 08939b64
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment