Fixed confusing docstring

This commit is contained in:
Julia Hansbrough
2014-03-13 22:09:29 +00:00
parent 6d2cd987dc
commit 08939b64dc

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: