docs: def auto_slug_on_insert(mapper, connection, target):
      """Generate a slug from :prop:`Entity.auto_slug` for new entities, unless
      slug is already set."""
      if target.slug is None and target.name:
          target.slug = target.auto_slug