summaryrefslogtreecommitdiff
path: root/tests/many_to_one
AgeCommit message (Expand)Author
13 daysFixed #37036 -- Added missing flat=True arg in DeferredAttribute.fetch_many().garybadwal
2026-03-21Refs #36883 -- Split monolithic aggregation/lookup/queries tests.Tim Graham
2026-02-10Modified tests to format PKs with %s rather than %d.Tim Graham
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-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2023-11-28Fixed #34633 -- Made create() method of reverse many-to-one managers clear pr...Aman Pandey
2023-09-18Fixed #33651 -- Added support for prefetching GenericForeignKey.Clément Escolano
2022-10-08Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to assertQue...Gregor Gärtner
2022-08-27Fixed #33952 -- Reallowed creating reverse foreign key managers on unsaved in...David Wobrock
2022-05-31Fixed #33191 -- Avoided clearing cached reference when saving child after par...Allen Jonathan David
2022-02-22Fixed #19580 -- Unified behavior of reverse foreign key and many-to-many rela...Albert Defler
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
2021-02-04Fixed #32332 -- Fixed loss of parent with non-numeric pk when saving child af...Hasan Ramezani
2020-11-13Changed docs and a code comment to use gender-neutral pronouns.Nick Pope
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
2020-02-18Refs #31282 -- Clarified M2O add/remove/set with PK behaviour.Carlton Gibson
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2019-08-02Fixed #30661 -- Added models.SmallAutoField.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-21Fixed #28147 -- Fixed loss of assigned parent when saving child after parent.Rob
2019-05-21Refs #28147 -- Added test for saving nullable ForeignKey with to_field attrib...Rob
2018-12-27Followed style guide for model attribute ordering.Matt Wiens
2018-11-08Fixed #29908 -- Fixed setting of foreign key after related set access if Fore...Simon Charette
2018-10-28Fixed #29896 -- Fixed incorrect Model.save() cache relation clearing for fore...Tim Graham
2018-09-25Normalized spelling of "lowercase" and "lowercased".Jon Dufresne
2017-11-09Fixed #27710 -- Made Model.save() invalidate cached, stale relations after a ...Paulo
2017-11-06Fixed #28776 -- Fixed a/an/and typos in docs and comments.Дилян Палаузов
2017-08-10Refs #16043 -- Refactored internal fields value cache.Paulo
2017-07-29Used assertRaisesMessage() to test Django's error messages.Mads Jensen
2017-04-10Changed assertQuerysetEqual()s that use default Model.__str__() to assertSequ...Collin Anderson
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
2017-01-26Refs #23919, #27778 -- Removed obsolete mentions of unicode.Vytis Banaitis
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
2017-01-17Refs #25550 -- Removed support for direct assignment to the reverse side of a...Tim Graham
2016-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-08-05Fixed #26706 -- Made RelatedManager modification methods clear prefetch_relat...Yoong Kang Lim
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