Changes between Version 3 and Version 4 of Ticket #35904
- Timestamp:
- Dec 6, 2024, 4:28:57 AM (2 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35904 – Description
v3 v4 1 1 As per this forum discussion, I have created a patch to improve load times for the loaddata command under some circumstances. 2 2 3 3 Currently the “loaddata” management command uses the obj.save() method for each deserialized object within a fixture. This function first tries an UPDATE statement and, if that fails, tries an INSERT statement. By using the --force_insert a reduction of 50% of queries is achieved.