divio/django-cms — pull request #1712 by harrastia (2013-04-17 09:31:58+00:00)
Title: (2.3.x) MultilingualURLMiddleware does not honor Django setting LANGUAGE_COOKIE_NAME

In the last lines of the MultilingualURLMiddleware the cookie name for language is hardcoded to 'django_language' instead of using LANGUAGE_COOKIE_NAME setting.

Tests added and fixed (some of them had also hardcoded the string 'django_language' for the cookie)