summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2014-08-11 12:47:37 +0300
committerAnssi Kääriäinen <akaariai@gmail.com>2014-08-11 12:47:37 +0300
commitdfadbdac6a63dce3304dff1977b5b0a15dc2d7b5 (patch)
tree0b7842b87d0409fece72619276e6b730a3baf7ce /tests/admin_scripts
parentcdfdcf4b70bebfc68871df885387790c6afbc23c (diff)
Fixed #16426 -- deletion of 1000+ objects with relations on SQLite
SQLite doesn't work with more than 1000 parameters in a single query. The deletion code could generate queries that try to get related objects for more than 1000 objects thus breaking the limit. Django now splits the related object fetching into batches with at most 1000 parameters. The tests and patch include some work done by Trac alias NiGhTTraX in ticket #21205.
Diffstat (limited to 'tests/admin_scripts')
0 files changed, 0 insertions, 0 deletions