code: def create_profile(profile_name):
      
      try:
          profile = Profile(profile_name=profile_name)
          profile.full_clean()
          profile.save()
      except ValidationError as err:
          raise ValCannotCreateError(err.message_dict)
docs: Used to create Profile objects in the database
  
      A profile needs to exists before an EncodedVideo object can be created.
  
      Args:
          profile_name (str): ID of the profile
  
      Raises:
          ValCannotCreateError: Raised if the profile name is invalid or exists