summaryrefslogtreecommitdiff
path: root/tests/one_to_one
AgeCommit message (Expand)Author
2025-10-16Refs #28586 -- Copied fetch modes to related objects.Adam Johnson
2025-10-16Fixed #28586 -- Added model field fetch modes.Adam Johnson
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-01-15Refs #33651 -- Removed Prefetch.get_current_queryset() and get_prefetch_query...Sarah Boyce
2024-08-28Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test su...Simon Charette
2024-02-19Fixed #35230 -- Added cached ForeignObjectRel.accessor_name.Adam Johnson
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2023-09-18Fixed #33651 -- Added support for prefetching GenericForeignKey.Clément Escolano
2023-08-09Fixed #34586 -- Made QuerySet.create() raise ValueError for reverse one-to-ma...Mariana
2022-02-22Removed redundant QuerySet.all() calls in docs and tests.Nick Pope
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-11-06Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly.Hasan Ramezani
2020-05-15Refs #31395 -- Relied on setUpTestData() test data isolation in various tests.Simon Charette
2020-04-30Removed unused __str__() methods in tests models.Mariusz Felisiak
2019-10-29Used more specific unittest assertions in tests.Nick Pope
2019-07-27Refs #28147 -- Fixed setting of OneToOne and Foreign Key fields to None when ...Jon Dufresne
2019-07-27Added tests for using attnames to assign OneToOne and Foreign Key fields.Jon Dufresne
2019-05-24Refs #9982 -- Added test for saving OneToOneField field after saving related ...Mariusz Felisiak
2018-02-12Fixed typo in tests/one_to_one/tests.py docstring.Snow_Poijio
2017-11-09Fixed #27710 -- Made Model.save() invalidate cached, stale relations after a ...Paulo
2017-10-30Fixed #28742 -- Fixed AttributeError crash when assigning None to cached reve...Paulo
2017-08-10Refs #16043 -- Refactored internal fields value cache.Paulo
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-04-10Fixed #28047 -- Fixed QuerySet.filter() crash when it uses the name of a OneT...Tim Graham
2017-04-10Changed assertQuerysetEqual()s that use default Model.__str__() to assertSequ...Collin Anderson
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Removed Manager.use_for_related_fields and Meta.manager_inheritance_from_future.Tim Graham
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-09-13Fixed #27203 -- Replaced assertQuerysetEqual(..., lambda o: o) with assertSeq...Mads Jensen
2016-06-04Fixed #26667 -- Fixed a regression in queries on a OneToOneField that has to_...Tim Graham
2016-05-17Fixed #10506, #13793, #14891, #25201 -- Introduced new APIs to specify models...Loïc Bistuer
2016-05-17Fixed #20932, #25897 -- Streamlined manager inheritance.Loïc Bistuer
2016-02-11Fixed #26179 -- Removed null assignment check for non-nullable foreign key fi...ZachLiuGIS
2016-01-29Refs #26022 -- Used context manager version of assertRaises in tests.Hasan
2015-10-27Fixed #25550 -- Deprecated direct assignment to the reverse side of a related...Tim Graham
2015-10-09Fixed #14368 -- Allowed setting a reverse OneToOne relation to None.Tim Graham
2015-09-19Fixed #25296 -- Prevented model related object cache pollution when create() ...Raphael Merx
2015-09-19Fixed #25160 (again) -- Moved data loss check on reverse relations.Aymeric Augustin
2015-08-20Fixed #24951 -- Fixed AssertionError in delete queries involving a foreign/pr...Tim Graham
2015-08-10Fixed #25160 -- Moved unsaved model instance data loss check to Model.save()Tim Graham
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey...Flavio Curella
2015-06-29Fixed #23791 -- Corrected object type check for pk__in=qsAnssi Kääriäinen
2015-04-09Fixed #24578 -- Fixed crash with QuerySet.update() on FK to O2O fields.Tim Graham
2015-03-25Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen
2015-03-18Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.Karl Hobley
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-23Fixed #21414 -- Removed RelatedObject and deprecated Field.related.Anssi Kääriäinen