summaryrefslogtreecommitdiff
path: root/tests/one_to_one
Commit message (Expand)AuthorAgeFilesLines
* Removed redundant QuerySet.all() calls in docs and tests.Nick Pope2022-02-221-2/+2
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-2/+8
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-072-50/+92
* Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani2020-11-061-14/+4
* Refs #31395 -- Relied on setUpTestData() test data isolation in various tests.Simon Charette2020-05-151-5/+6
* Removed unused __str__() methods in tests models.Mariusz Felisiak2020-04-301-6/+0
* Used more specific unittest assertions in tests.Nick Pope2019-10-291-1/+1
* Refs #28147 -- Fixed setting of OneToOne and Foreign Key fields to None when ...Jon Dufresne2019-07-271-0/+9
* Added tests for using attnames to assign OneToOne and Foreign Key fields.Jon Dufresne2019-07-271-0/+12
* Refs #9982 -- Added test for saving OneToOneField field after saving related ...Mariusz Felisiak2019-05-241-0/+8
* Fixed typo in tests/one_to_one/tests.py docstring.Snow_Poijio2018-02-121-1/+1
* Fixed #27710 -- Made Model.save() invalidate cached, stale relations after a ...Paulo2017-11-091-0/+10
* Fixed #28742 -- Fixed AttributeError crash when assigning None to cached reve...Paulo2017-10-301-0/+9
* Refs #16043 -- Refactored internal fields value cache.Paulo2017-08-101-1/+1
* Used assertRaisesMessage() to test Django's error messages.Mads Jensen2017-07-291-1/+5
* Fixed #28047 -- Fixed QuerySet.filter() crash when it uses the name of a OneT...Tim Graham2017-04-101-0/+4
* Changed assertQuerysetEqual()s that use default Model.__str__() to assertSequ...Collin Anderson2017-04-101-26/+7
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-2/+2
* Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz2017-01-181-7/+0
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-182-4/+0
* Removed Manager.use_for_related_fields and Meta.manager_inheritance_from_future.Tim Graham2017-01-171-22/+1
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-9/+5
* Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with assertSeq...Mads Jensen2016-09-131-4/+4
* Fixed #26667 -- Fixed a regression in queries on a OneToOneField that has to_...Tim Graham2016-06-042-3/+13
* Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify models...Loïc Bistuer2016-05-171-1/+23
* Fixed #20932, #25897 -- Streamlined manager inheritance.Loïc Bistuer2016-05-171-4/+4
* Fixed #26179 -- Removed null assignment check for non-nullable foreign key fi...ZachLiuGIS2016-02-111-3/+2
* Refs #26022 -- Used context manager version of assertRaises in tests.Hasan2016-01-291-4/+8
* Fixed #25550 -- Deprecated direct assignment to the reverse side of a related...Tim Graham2015-10-271-1/+1
* Fixed #14368 -- Allowed setting a reverse OneToOne relation to None.Tim Graham2015-10-091-0/+16
* Fixed #25296 -- Prevented model related object cache pollution when create() ...Raphael Merx2015-09-191-0/+5
* Fixed #25160 (again) -- Moved data loss check on reverse relations.Aymeric Augustin2015-09-191-5/+7
* Fixed #24951 -- Fixed AssertionError in delete queries involving a foreign/pr...Tim Graham2015-08-202-2/+10
* Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()Tim Graham2015-08-101-36/+13
* Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey...Flavio Curella2015-07-272-12/+12
* Fixed #23791 -- Corrected object type check for pk__in=qsAnssi Kääriäinen2015-06-291-0/+18
* Fixed #24578 -- Fixed crash with QuerySet.update() on FK to O2O fields.Tim Graham2015-04-091-0/+11
* Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen2015-03-251-2/+2
* Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.Karl Hobley2015-03-181-1/+26
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-3/+5
* Fixed #21414 -- Removed RelatedObject and deprecated Field.related.Anssi Kääriäinen2014-12-231-1/+1
* Fixed and restored assertions in OneToOneTests.test_foreign_key.Adam Alton2014-11-251-4/+7
* Fixed #23620 -- Used more specific assertions in the Django test suite.Berker Peksag2014-11-031-6/+6
* Fixed flake8 warnings.Tim Graham2014-09-241-0/+1
* Removed numbering from the models.py header of some test packages.Loic Bistuer2014-09-241-1/+1
* Fixed #23550 -- Normalized get_queryset() of RelatedObjectDescriptorLoic Bistuer2014-09-242-1/+78
* Merged one_to_one_regress into the one_to_one test package.Loic Bistuer2014-09-232-24/+297
* Fixed #14334 -- Query relation lookups now check object types.Anubhav Joshi2014-07-011-1/+0
* Fixed #10811 -- Made assigning unsaved objects to FK, O2O, and GFK raise Valu...Anubhav Joshi2014-06-052-1/+22
* Fixed #21563 -- Single related object descriptors should work with `hasattr`.Simon Charette2013-12-111-0/+4