Branch: refs/heads/master Home: https://github.com/django/django Commit: dfadbdac6a63dce3304dff1977b5b0a15dc2d7b5 https://github.com/django/django/commit/dfadbdac6a63dce3304dff1977b5b0a15dc2d7b5 Author: Anssi Kääriäinen <akaar...@gmail.com> Date: 2014-08-11 (Mon, 11 Aug 2014)
Changed paths: M django/db/models/deletion.py M tests/delete/tests.py Log Message: ----------- 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. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/53e890de9e791_27e25e9d40765ee%40hookshot-fe2-cp1-prd.iad.github.net.mail. For more options, visit https://groups.google.com/d/optout.