code: def assure_relation(cls, cms_page):
          
          try:
              cms_page.cascadepage
          except cls.DoesNotExist:
              cls.objects.create(extended_object=cms_page)
docs: Assure that we have a foreign key relation, pointing from CascadePage onto CMSPage.