parameters: (cls, site, **kwargs)
return_statement: return obj
docstring: Creates a new Content instance, stores it in the database, and calls
          ``Node.add_root``
docstring_summary: Creates a new Content instance, stores it in the database, and calls
          ``Node.add_root``
docstring_tokens: Creates a new Content instance stores it in the database and calls Node . add_root
function: def add_root(cls, site, **kwargs):
          """
          Creates a new Content instance, stores it in the database, and calls
          ``Node.add_root``
          """
          obj = cls.objects.create(**kwargs)
          Node.add_root(content=obj)
          obj.post_create(site)
          return obj
function_tokens: def add_root ( cls , site , * * kwargs ) : obj = cls . objects . create ( * * kwargs ) Node . add_root ( content = obj ) obj . post_create ( site ) return obj