code: def delete_project(self, project):
          
          pid = project.pid
  
          # project deleted
  
          ds_project = self.get_project(pid)
          if ds_project is not None:
              self._delete_project(pid)
  
          return
docs: Called when project is deleted.