summaryrefslogtreecommitdiff
path: root/django/db/models/fields/related.py
AgeCommit message (Expand)Author
2023-02-01[4.2.x] Refs #33476 -- Applied Black's 2023 stable style.David Smith
2022-12-28Fixed #18468 -- Added support for comments on columns and tables.kimsoungryoul
2022-11-18Removed unnecessary ForeignKey.get_reverse_path_info().Mariusz Felisiak
2022-10-31Used more augmented assignment statements.Nick Pope
2022-09-02Fixed #29799 -- Allowed registering lookups per field instances.Allen Jonathan David
2022-07-27Refs #32948, Refs #32946 -- Used Q.create() internally for dynamic Q() objects.Nick Pope
2022-05-02Fixed #33413 -- Made migrations propage collations to related fields.David Wobrock
2022-04-22Refs #31223 -- Added __class_getitem__() to ForeignKey.Collin Anderson
2022-02-16Fixed #33515 -- Prevented recreation of migration for ManyToManyField to lowe...Mariusz Felisiak
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-12-10Corrected return value of ForeignKey.db_check().Adam Johnson
2021-11-03Fixed #32996 -- Cached PathInfos on relations.Keryn Knight
2021-10-06Fixed #33131 -- Improved error messages for clashing reverse accessor names.Bernd Wechner
2021-09-09Fixed #33084 -- Removed incorrect system check for ManyToManyField with limit...Hasan Ramezani
2021-08-06Fixed #32983 -- Added system check for redundant related_name on symmetrical ...Nick Touran
2021-07-28Refs #32946 -- Changed internal usage of dynamic Q() objects construction to ...Keryn Knight
2021-07-22Fixed #32951 -- Removed Query.where_class & co.Nick Pope
2021-07-15Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.db....Daniyal
2021-05-28Fixed #32676 -- Prevented migrations from rendering related field attributes ...David Wobrock
2020-12-30Fixed #32294 -- Prevented ManyToManyField's hidden related name collisions be...manav014
2020-12-29Added app labels to related fields checks messages E302-E305.Mariusz Felisiak
2020-12-29Used model's Options.label where applicable.Mariusz Felisiak
2020-06-26Fixed #31742 -- Fixed makemigrations crash on ForeignKey to an app with mixed...Mariusz Felisiak
2020-06-25Fixed #31596 -- Changed ForeignKey.validate() to use the base manager.Jon Dufresne
2020-04-27Removed unnecessary tuple wrapping of single format string argument.François Freitag
2020-03-25Fixed #23916 -- Allowed makemigrations to handle related model name case chan...Adam Johnson
2020-02-28Fixed #31310 -- Fixed hints in checks for using intermediate model with ambig...Matheus Cunha Motta
2020-02-27Fixed #31185 -- Fixed detecting of unique fields in ForeignKey/ForeignObject ...Valze
2020-02-17Fixed #31277 -- Relaxed system check of m2m intermediary tables for db_table ...Xavier Francisco
2020-02-05Fixed #26813 -- Prevented empty choice in ModelChoiceField with RadioSelect f...Hasan Ramezani
2020-01-31Cached ForeignObject.(local/foreign/reverse)_related_fields properties.Adam Johnson
2020-01-31Fixed 31207 -- Prevented references to non-local remote fields in ForeignKey....Hasan Ramezani
2020-01-16Used constant instead of hard-coded value for recursive relationship.Adam Johnson
2019-07-27Refs #28147 -- Fixed setting of OneToOne and Foreign Key fields to None when ...Jon Dufresne
2019-06-21Fixed #30421 -- Allowed symmetrical intermediate table for self-referential M...Nadège Michel
2019-05-21Fixed #28147 -- Fixed loss of assigned parent when saving child after parent.Rob
2019-05-13Fixed #30436 -- Added check that on_delete is callable in ForeignKey and OneT...Rob
2019-04-16Fixed #30368 -- Fixed prefetch_related() for GenericForeignKey when PK is als...Vinny Do
2019-01-14Removed unnecessary string formatting of strings.Jon Dufresne
2019-01-11Moved django.db.migrations.writer.SettingsReference to django.conf.Tim Graham
2018-10-22Fixed #27595 -- Made ForeignKey.get_col() follow target chains.Simon Charette
2018-02-02Fixed imports per isort 4.3.1.Tim Graham
2018-02-01Fixed imports per isort 4.3.0.Mariusz Felisiak
2018-01-12Fixed #28996 -- Simplified some boolean constructs and removed trivial contin...Дилян Палаузов
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-12-04Fixed #28873 -- Used dict.setdefault() to set model and form field defaults.Дилян Палаузов
2017-12-04Fixed #28860 -- Removed unnecessary len() calls.Дилян Палаузов
2017-11-30Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey pointing...Simon Charette
2017-09-22Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) s...Nicolas Delaby