Branch: refs/heads/stable/1.4.x
  Home:   https://github.com/django/django
  Commit: 23268608512444de626e63dee1815fb5b5207a48
      
https://github.com/django/django/commit/23268608512444de626e63dee1815fb5b5207a48
  Author: Anssi Kääriäinen <[email protected]>
  Date:   2012-09-02 (Sun, 02 Sep 2012)

  Changed paths:
    M django/db/backends/__init__.py
    M django/db/backends/sqlite3/base.py
    M django/db/models/query.py
    M tests/regressiontests/bulk_create/models.py
    M tests/regressiontests/bulk_create/tests.py
    M tests/regressiontests/queries/tests.py

  Log Message:
  -----------
  [1.4.x] Fixed #17788 -- Added batch_size argument to qs.bulk_create()

The qs.bulk_create() method did not work with large batches together
with SQLite3. This commit adds a way to split the bulk into smaller
batches. The default batch size is unlimited except for SQLite3 where
the batch size is limited to 999 SQL parameters per batch.

Thanks to everybody who participated in the discussions at Trac.

Backpatch of 29132ebdef0e0b9c09e456b05f0e6a22f1106a4f from master (with
documentation changes removed).



-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to