django1/django/db
Anssi Kääriäinen dfadbdac6a 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.
2014-08-11 12:47:37 +03:00
..
backends Made sqlite's remove_field behave like the base backend. 2014-08-10 13:31:06 +02:00
migrations Don't treat .pyc/pyo files as migrations. Refs #23237 among others. 2014-08-08 09:57:31 +10:00
models Fixed #16426 -- deletion of 1000+ objects with relations on SQLite 2014-08-11 12:47:37 +03:00
__init__.py Fixed #21430 -- Added a RuntimeWarning when unpickling Models and QuerySets from a different Django version. 2014-06-11 10:03:34 -04:00
transaction.py Fixed #23074 -- Avoided leaking savepoints in atomic. 2014-07-28 14:30:41 +02:00
utils.py Fixed #21755 -- Added ForeignKey support to REQUIRED_FIELDS. 2014-07-03 07:42:52 -04:00