summaryrefslogtreecommitdiff
path: root/django/db/models/fields/related.py
AgeCommit message (Expand)Author
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
2017-09-06Refs #23919 -- Replaced usage of django.utils.functional.curry() with functoo...Sergey Fedoseev
2017-08-31Fixed #28543 -- Prevented ManyToManyField.value_from_object() from being lazy.Tim Graham
2017-08-10Refs #16043 -- Refactored internal fields value cache.Paulo
2017-07-20Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expre...Tim Graham
2017-06-14Moved common code to RelatedField.deconstruct().Adam Bogdał
2017-06-14Fixed #24195 -- Deconstructed the limit_choices_to option of related fields.Adam Bogdał
2017-06-05Replaced Model._get_pk_val() with pk property.Tim Graham
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
2017-02-28Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
2017-02-01Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.Vytis Banaitis
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-19Refs #23919 -- Removed str() conversion of type and method __name__.Simon Charette
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Stopped using django.utils.lru_cache().Aymeric Augustin
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #24215 -- Removed add_lazy_relation() per deprecation timeline.Tim Graham
2017-01-17Refs #21127 -- Required on_delete for ForeignKey/OneToOneField.Tim Graham