get all names from a database django views code example Example: delete model object django SomeModel.objects.filter(id=id).delete()