delete duplicate rows in django db,Some_Model.objects.filter(id__in=ids_list).delete()