Kaydet (Commit) 9173d2cb authored tarafından Tim Graham's avatar Tim Graham

Fixed #18285 -- Documented that bulk_create doesn't work with M2M relationships.

üst 54d396ff
......@@ -1625,6 +1625,7 @@ This has a number of caveats though:
* It does not work with child models in a multi-table inheritance scenario.
* If the model's primary key is an :class:`~django.db.models.AutoField` it
does not retrieve and set the primary key attribute, as ``save()`` does.
* It does not work with many-to-many relationships.
The ``batch_size`` parameter controls how many objects are created in single
query. The default is to create all objects in one batch, except for SQLite
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment