divio/django-cms — pull request #1641 by littlepea (2013-02-20 05:53:32+00:00)
Title: Fixed #1594

Added get_current_language() method and using it instead of translation.get_language(), also added get_language_code() method to check if language code is in LANGUAGES

Common case is when in settings LANGUAGE_CODE = 'en-us' and in LANGUAGES it's 'en' which causes manage.py cms check to fail.