@classmethod
def _after_postgeneration(cls, instance, create, results=None):
    """Update the related page's languages (taken from DjangoCMS's create_page helper)."""
    super()._after_postgeneration(instance, create, results=results)
    page = instance.page
    if page:
        page_languages = page.get_languages()
        if instance.language not in page_languages:
            page.update_languages(page_languages + [instance.language])
