# Django: if yourName and yourNumber exist in YourModel then delete all rows YourModel.objects.filter(name='yourName', numb='yourNumber').delete()