summaryrefslogtreecommitdiff
path: root/django/db/models
AgeCommit message (Expand)Author
2019-06-10Fixed #30548 -- Improved exception when expression contains mixed types.CruxBox
2019-06-05Fixed #30542 -- Fixed crash of numerical aggregations with filter.Étienne Beaulé
2019-05-31Fixed #26192 -- Fixed crash of ordering by constants on PostgreSQL.Mariusz Felisiak
2019-05-28Simplified Model.save() a bit.葛汉斌
2019-05-23Fixed #30501 -- Preventing QuerySet.reverse() from mutating expressions in Qu...Mariusz Felisiak
2019-05-21Fixed #28147 -- Fixed loss of assigned parent when saving child after parent.Rob
2019-05-21Refs #29396, #30494 -- Reduced code duplication in year lookups.Simon Charette
2019-05-21Fixed #29396 -- Added indirect values support to __year lookups.Simon Charette
2019-05-21Fixed #30494 -- Disabled __year lookup optimization for indirect values.Simon Charette
2019-05-18Fixed #30463 -- Fixed crash of deprecation message when Meta.ordering contain...ruchit2801
2019-05-16Fixed #30482 -- Prevented unnecessary evaluation of lookup.queryset in prefet...Iain Watts
2019-05-13Fixed #30436 -- Added check that on_delete is callable in ForeignKey and OneT...Rob
2019-05-12Fixed #6785 -- Made QuerySet.get() fetch a limited number of rows.Amir Hadi
2019-05-07Fixed #30349 -- Fixed QuerySet.exclude() on FilteredRelation.Rob
2019-05-07Fixed #26678 -- Doc'd that RelatedManager.add()/remove()/set() accepts the fi...Tobias Kunze
2019-05-06Fixed #30339 -- Made Model.delete(keep_parents=True) preserves nested parent ...Stephen Brown
2019-05-03Fixed #29692 -- Fixed removing ordering parts for multiline RawSQL expressions.can
2019-05-02Fixed #29529 -- Allowed models.fields.FilePathField to accept a callable path.Mykola Kokalko
2019-05-01Fixed #30409 -- Allowed using foreign key's attnames in unique/index_together...zeyneloz
2019-04-30Fixed #30412 -- Fixed crash when adding check constraints with OR'ed conditio...can
2019-04-29Simplified Field.contribute_to_class().Jon Dufresne
2019-04-23Fixed #29810 -- Fixed crash of select_related() on FilteredRelation with empt...can
2019-04-19Fixed #30328 -- Fixed crash of IntegerField.validators when limit_value in a ...Scott Fitsimones
2019-04-18Fixed #30367 -- Changed "pip install" to "python -m pip install" in docs, com...Ramiro Morales
2019-04-18Fixed typos in docs, comments, and exception messages.Ville Skyttä
2019-04-18Fixed #30335, #29139 -- Fixed crash when ordering or aggregating over a neste...can
2019-04-17Fixed #30191 -- Selected only referenced fields during cascade deletion.Simon Charette
2019-04-17Refs #18676 -- Enabled fast-delete for m2m_changed senders.Simon Charette
2019-04-16Fixed #30368 -- Fixed prefetch_related() for GenericForeignKey when PK is als...Vinny Do
2019-04-15Refs #23758 -- Used RecursionError instead of RuntimeError to raise nested su...Simon Charette
2019-04-15Refs #27149 -- Based recursive nested subquery detection on sys.getrecursionl...Simon Charette
2019-04-15Fixed #30325 -- Reverted "Fixed #29725 -- Removed unnecessary join in QuerySe...Mariusz Felisiak
2019-04-14Fixed #30343 -- Fixed prefetch_related() for GenericForeignKey when PK of rel...Mariusz Felisiak
2019-04-08Fixed #30330 -- Fixed setting of primary key to None during fast-delete.Florian Apolloner
2019-04-03Fixed typo in django/db/models/query_utils.py comment.David Beitey
2019-03-27Fixed #28621 -- Fixed crash of annotations with OuterRef.Mariusz Felisiak
2019-03-25Fixed #28431 -- Added a system check for BinaryField to prevent strings defau...Hasan Ramezani
2019-03-23Fixed #30246 -- Reused annotation aliases references in aggregation filters.Simon Charette
2019-03-23Refs #30188 -- Avoided GROUP BY when aggregating over non-aggregates.Simon Charette
2019-03-23Refs #30188 -- Prevented double annotation of subquery when aggregated over.Simon Charette
2019-03-23Fixed #30188 -- Fixed a crash when aggregating over a subquery annotation.Simon Charette
2019-03-23Fixed #21703 -- Fixed a crash when excluding a related field with a F().Simon Charette
2019-03-22Fixed #30280 -- Restored Model.get_FIELD_display()'s coercion of lazy strings.Matthias Kestenholz
2019-03-22Fixed #30271 -- Added the Sign database function.Nick Pope
2019-03-21Removed obsolete Lookup hook to prepare rhs expressions.Simon Charette
2019-03-21Refs #27149, #29542 -- Simplified subquery parentheses wrapping logic.Simon Charette
2019-03-21Refs #27149 -- Moved subquery expression resolving to Query.Simon Charette
2019-03-21Refs #27149 -- Made Subquery store Query instead of Queryset.Simon Charette
2019-03-21Fixed #30158 -- Avoided unnecessary subquery group by on aggregation.Simon Charette
2019-03-21Refs #30158 -- Added alias argument to Expression.get_group_by_cols().Simon Charette