if not table.objects.filter(column1=values).exists(): # Insert new data here table.objects.create(column1=v1, column2=v2)