Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/delete
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-281-25/+25
| | | | on_delete for ForeignKey/OneToOneField
* Fixed #25129 -- Made model instance defaults work with ↵Tim Graham2015-07-212-3/+3
| | | | migrations (refs #24919).
* Refs #24919 -- Made test models serializable for migrations.Tim Graham2015-07-211-1/+2
|
* Fixed #16891 -- Made Model/QuerySet.delete() return the ↵Alexander Sosnovskiy2015-05-221-0/+57
| | | | number of deleted objects.
* Fixed #24714 -- Used more specific assertions than ↵Alasdair Nicol2015-04-281-7/+7
| | | | assertEqual in tests.
* Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen2015-03-251-1/+1
| | | | | | | | Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True.
* Fixed #15579 -- Added ability to delete only child ↵Andriy Sokolovskiy2015-03-171-0/+7
| | | | models in multi-table inheritance.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-5/+6
|
* Fixed typos in code comments.Adam Taylor2015-01-201-1/+1
|
* Fixed #23812 -- Changed django.utils.six.moves.xrange ↵Michael Hall2014-12-131-4/+4
| | | | imports to range
* Fixed #16426 -- deletion of 1000+ objects with relations ↵Anssi Kääriäinen2014-08-111-1/+50
| | | | | | | | | | | | | 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.
* PEP8 cleanupJason Myers2013-11-032-1/+8
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-021-1/+1
|
* Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol2013-10-231-0/+4
|
* Removed some more unused local varsAlex Gaynor2013-09-081-3/+3
|
* Removed most of absolute_import importsClaude Paroz2013-07-291-1/+1
| | | | | Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
* Merged regressiontests and modeltests into the test root.Florian Apolloner2013-02-263-0/+502