How would I fix this one?

    request.session[settings.LANGUAGE_COOKIE_NAME] = \
        request.GET['lang']

Like that?