summaryrefslogtreecommitdiff
path: root/django/db/models/fields/related.py
AgeCommit message (Expand)Author
2025-02-06[5.2.x] Fixed #36061 -- Added migration support for ManyToManyField.through_f...brian
2025-01-02Fixed #36034 -- Added system check for ForeignKey/ForeignObject/ManyToManyFie...Mariusz Felisiak
2024-11-29Fixed #373 -- Added CompositePrimaryKey.Bendeguz Csirmaz
2024-09-09Refs #373 -- Added Model._is_pk_set() abstraction to check if a Model's PK is...Csirmaz Bendegúz
2024-08-28Refs #16055 -- Adjusted deprecation warning stacklevel in get_joining_columns...Simon Charette
2024-07-09Fixed #35580 -- Allowed related fields referencing auto-created through models.jason_bruce
2024-07-04Fixed #35569 -- Improved wording of invalid ForeignKey error message.Jacob Walls
2024-05-21Fixed #35405 -- Converted get_cache_name into a cached property in FieldCache...Adam Johnson
2024-03-11Fixed #35285 -- Optimized ForeignObject._check_unique_target().Adam Johnson
2024-03-04Fixed #35266 -- Deferred formatting in RelatedField._check_clashes().Adam Johnson
2024-02-19Refs #28011 -- Removed ForeignObjectRel.is_hidden().Adam Johnson
2024-02-19Fixed #35230 -- Added cached ForeignObjectRel.accessor_name.Adam Johnson
2023-09-19Simplified ForeignObject.resolve_related_fields() a bit.Lily Foote
2023-04-18Refs #16055 -- Deprecated get_joining_columns()/get_reverse_joining_columns()...David Wobrock
2023-04-18Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation ...David Wobrock
2023-03-14Refs #28329 -- Fixed Cast() with ForeignKey to integer fields on MySQL.David Wobrock
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2023-01-18Refs #34233 -- Used @functools.cache.Nick Pope
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