Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/tests/many_to_one
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #25550 -- Deprecated direct assignment to the ↵Tim Graham2015-10-271-5/+15
| | | | reverse side of a related set.
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-4/+6
|
* Fixed #25160 -- Moved unsaved model instance data loss ↵Tim Graham2015-08-101-34/+7
| | | | | | | | | check to Model.save() This mostly reverts 5643a3b51be338196d0b292d5626ad43648448d3 and 81e1a35c364e5353d2bf99368ad30a4184fbb653. Thanks Carl Meyer for review.
* Fixed #18556 -- Allowed RelatedManager.add() to execute ↵Tim Graham2015-07-281-1/+5
| | | | | | 1 query where possible. Thanks Loic Bistuer for review.
* Fixed #21127 -- Started deprecation toward requiring ↵Flavio Curella2015-07-282-12/+12
| | | | on_delete for ForeignKey/OneToOneField
* Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen2015-03-251-3/+3
| | | | | | | | 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 #24495 -- Allowed unsaved model instance ↵Karl Hobley2015-03-191-0/+25
| | | | assignment check to be bypassed.
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-4/+6
|
* Fixed #6707 -- Added RelatedManager.set() and made ↵Loic Bistuer2015-02-051-0/+39
| | | | | | descriptors' __set__ use it. Thanks Anssi Kääriäinen, Carl Meyer, Collin Anderson, and Tim Graham for the reviews.
* Fixed #12663 -- Formalized the Model._meta API for ↵Daniel Pyrathon2015-01-071-2/+2
| | | | | | | retrieving fields. Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
* Fixed #23620 -- Used more specific assertions in the ↵Berker Peksag2014-11-031-10/+10
| | | | Django test suite.
* Removed numbering from the models.py header of some test ↵Loic Bistuer2014-09-241-1/+1
| | | | | | packages. This is a reliqua from the early days of the modeltests/regressiontests era.
* Consolidated some many_to_one tests.Loic Bistuer2014-09-232-8/+228
|
* Fixed E127 pep8 warnings.Loic Bistuer2013-12-141-1/+1
|
* Fixed E124 pep8 warnings.Loic Bistuer2013-12-101-2/+3
|
* PEP8 cleanupJason Myers2013-11-031-0/+1
| | | | Signed-off-by: Jason Myers <jason@jasonamyers.com>
* Fix all violators of E231Alex Gaynor2013-10-261-6/+6
|
* Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol2013-10-211-5/+5
|
* Removed unused local variables in tests.Tim Graham2013-10-191-13/+13
|
* Fixed #21174 -- transaction control in related manager ↵Anssi Kääriäinen2013-10-051-2/+5
| | | | methods
* Removed most of absolute_import importsClaude Paroz2013-07-291-2/+0
| | | | | 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/+474