divio/django-cms — pull request #1604 by benjaoming (2013-01-18 21:37:40+00:00)
Title: Fix slug bug when creating a new language

When a new language is added, and if you immediately set the slug field in the form, the original fallback language will have its slug updated as well.

This should fix it by verifying that the language exists in page.title_cache - if it doesn't, then get_title_obj would have returned a fallback title object.