django query remove from database code example Example: django delete object SomeModel.objects.filter(id=id).delete()