This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Originally from marc-w.com | |
# Built and tested on Django 1.6 | |
from django.db import connection, transaction | |
class BulkInsertManager(models.Manager): | |
def _bulk_insert_ignore(self, create_fields, values, print_sql=False): | |
''' |