code: def story_root_for_new_outline(sender, instance, created, *args, **kwargs):
      '''
      If a new instance of a Outline is created, also create
      the root node of the story tree.
      '''
      if created and isinstance(instance, Outline):
          streeroot = StoryElementNode.add_root(outline=instance, story_element_type='root')
          streeroot.save()
          instance.refresh_from_db(f story_root_for_new_outline(sender, instance, created, *args, **kwargs):
      '''
      If a new instance of a Outline is created, also create
      the root node of the story tree.
      '''
      if created and isinstance(instance, Outline):
          streeroot = StoryElementNode.add_root(outline=instance, story_element_type='root')
          streeroot.save()
          instance.refresh_from_db()
docs: If a new instance of a Outline is created, also create
      the root node of the story tree.