I avoid \ like the plague.

If it were me, I'd do this:

```
cookie = settings.LANGUAGE_COOKIE_NAME
request.session[cookie] = request.GET['lang']
```