code: def delete(self, constraint):
          
  
          results = self._get_repo_filter(Service.objects).extra(where=[constraint['where']],
                                                                 params=constraint['values']).all()
          deleted = len(results)
          results.delete()
          return deleted
docs: Delete a record from the repository