summaryrefslogtreecommitdiff
path: root/django/db/models
AgeCommit message (Expand)Author
2019-12-16Optimized containment check in ChoicesMeta.Ram Rachum
2019-12-10Used Signature API instead of deprecated inspect.getcallargs().Baptiste Mispelon
2019-12-09Refs #31044 -- Fixed error message when using Prefetch with a values_list() q...Mariusz Felisiak
2019-12-09Fixed #31044 -- Errored nicely when using Prefetch with a raw() queryset.Hasan Ramezani
2019-12-06Made Query.check_filterable() use bool by default instead of str.Alex Aktsipetrov
2019-12-06Fixed #31060 -- Reallowed window expressions to be used in conditions outside...Alex Aktsipetrov
2019-12-03Fixed #31046 -- Allowed RelatedManager.add()/create()/set() to accept callabl...Baptiste Mispelon
2019-12-03Simplified RelatedManager._add_items() a bit.Baptiste Mispelon
2019-12-03Refs #31046 -- Added django.db.models.utils.resolve_callables().Baptiste Mispelon
2019-12-02Fixed #30953 -- Made select_for_update() lock queryset's model when using "se...Mariusz Felisiak
2019-11-22Fixed #8467 -- Prevented crash when adding existent m2m relation with an inva...Simon Charette
2019-11-21Refs #25367 -- Made Query.build_filter() raise TypeError on non-conditional e...Simon Charette
2019-11-21Fixed #30484 -- Added conditional expressions support to CheckConstraint.Simon Charette
2019-11-21Refs #25367 -- Moved conditional expression wrapping to the Exact lookup.Simon Charette
2019-11-21Refs #11964 -- Removed SimpleCol in favor of Query(alias_cols).Simon Charette
2019-11-19Fixed #27272 -- Added an on_delete RESTRICT handler to allow cascading deleti...Daniel Izquierdo
2019-11-19Refs #27272 -- Added Collector.add_dependency().Daniel Izquierdo
2019-11-19Fixed #30987 -- Added models.PositiveBigIntegerField.Caio Ariede
2019-11-18Fixed #30988 -- Deprecated the InvalidQuery exception.Simon Charette
2019-11-18Replaced QueryWrapper single usage with RawSQL.Simon Charette
2019-11-13Fixed #30971 -- Prevented Query.resolve_lookup_value() from coercing list val...George Marshall
2019-11-08Fixed #24858 -- Added support for get_FOO_display() to ArrayField and RangeFi...Hasan Ramezani
2019-11-05Refs #30095 -- Added Field._choices_is_value().Hasan Ramezani
2019-11-04Refs #13312 -- Simplified handling of nulls ordering on MySQL.Nick Pope
2019-11-04Fixed #30931 -- Restored ability to override Model.get_FIELD_display().Carlton Gibson
2019-10-31Refs #13312 -- Removed unnecessary IF wrapping in nulls_last handling on MySQL.Simon Charette
2019-10-31Refs #30095 -- Simplified Field._check_choices() a bit.Mariusz Felisiak
2019-10-29Fixed #30899 -- Lazily compiled import time regular expressions.Hasan Ramezani
2019-10-25Fixed #30902 -- Added __str__() for model choice enums.Carlton Gibson
2019-10-24Fixed #23576 -- Implemented multi-alias fast-path deletion in MySQL backend.Simon Charette
2019-10-23Fixed #29919 -- Fixed RelatedOnlyFieldListFilter crash with reverse relations...Dan Moore
2019-10-21Fixed #20577 -- Deferred filtering of prefetched related querysets.Alex Aktsipetrov
2019-10-21Adjusted QuerySet._filter_or_exclude() call to use negated=False, rather than...Alex Aktsipetrov
2019-10-21Fixed #30827 -- Made batch_size arg of QuerySet.bulk_create() respect Databas...Ahmet Kucuk
2019-10-21Fixed #30841 -- Deprecated using non-boolean values for isnull lookup.André Ericson
2019-10-17Refs #12990 -- Moved CheckFieldDefaultMixin to the django.db.models.fields.mi...sage
2019-10-11Fixed #30854 -- Fixed QuerySet.select_related() with multiple FilteredRelations.Hasan Ramezani
2019-10-11Refs #30854 -- Moved local_setter() outside the loop in SQLCompiler.get_relat...Hasan Ramezani
2019-10-09Fixed #30860 -- Disabled unneeded NULLS FIRST/LAST workaround on SQLite 3.30+.Simon Charette
2019-10-09Fixed #30856 -- Combined fast-delete queries by model during cascade deletion.Simon Charette
2019-10-09Made Collector.collect() return immediately for disabled related collection.Simon Charette
2019-10-09Used defaultdict in deletion.Collector.Simon Charette
2019-10-02Removed redundant names in django.db.models.functions.__all__.Mariusz Felisiak
2019-10-02Fixed #30821 -- Added ExtractIsoWeekYear database function and iso_week_day l...Anatol Ulrich
2019-10-01Fixed #30651 -- Made __eq__() methods return NotImplemented for not implement...ElizabethU
2019-09-27Fixed #30798 -- Fixed Meta.ordering validation for pk of related fields.Hasan Ramezani
2019-09-27Refs #30798 -- Prevented chaining fields from the same related model multiple...Hasan Ramezani
2019-09-24Removed some outdated backwards compatibility imports and misleading comments.Mads Jensen
2019-09-24Refs #29444 -- Removed redundant DatabaseFeatures.can_return_multiple_columns...Mariusz Felisiak
2019-09-24Fixed #29444 -- Allowed returning multiple fields from INSERT statements on O...Johannes Hoppe