summaryrefslogtreecommitdiff
path: root/django/db/models
AgeCommit message (Collapse)Author
2016-03-10Fixed #26324 -- Fixed DurationField with fractional seconds on SQLite.Tim Graham
2016-03-05Refs #19527 -- Fixed SQL compiler regression causing Oracle failure.Tim Graham
2016-03-02Fixed #26226 -- Made related managers honor the queryset used for ↵Simon Charette
prefetching their results. Thanks Loïc for the suggested improvements and Tim for the review.
2016-03-02Fixed #26285 -- Deprecated the MySQL-specific __search lookup.Marc Tamlyn
2016-03-02Refs #19527 -- Allowed QuerySet.bulk_create() to set the primary key of its ↵acrefoot
objects. PostgreSQL support only. Thanks Vladislav Manchev and alesasnouski for working on the patch.
2016-02-29Fixed #26186 -- Documented how app relative relationships of abstract models ↵Simon Charette
behave. This partially reverts commit bc7d201bdbaeac14a49f51a9ef292d6312b4c45e. Thanks Tim for the review. Refs #25858.
2016-02-29Removed unused 'Between' lookup.Adam Chainz
It was added in 20bab2cf9d02a5c6477d8aac066a635986e0d3f3 and stopped being used for `Range` in 00aa562884a418c4ee20e223ab82c3455997ee7d when `bilateral` was added to `Transform`.
2016-02-27Fixed #26230 -- Made default_related_name affect related_query_name.chenesan
2016-02-26Fixed #26264 -- Fixed prefetch_related() crashes with values_list(flat=True)Attila Tovt
2016-02-26Fixed #25279 -- Made prefetch_related_objects() public.Adam Chainz
2016-02-26Fixed #24793 -- Unified temporal difference support.Simon Charette
2016-02-26Fixed #25811 -- Added a helpful error when making _in queries across ↵Edwar Baron
different databases.
2016-02-18Fixed #26233 -- Fixed invalid reSt in models.Q docstring.Tim Graham
2016-02-12Removed unneeded hint=None/obj=None in system check messages.Tim Graham
2016-02-12Updated allow_migrate() signature in check framework testsMarkus Holtermann
2016-02-11Fixed #26196 -- Made sure __in lookups use to_field as default.Anssi Kääriäinen
Thanks Simon Charette for the test.
2016-02-11Fixed #26179 -- Removed null assignment check for non-nullable foreign key ↵ZachLiuGIS
fields.
2016-02-11Fixed #26153 -- Reallowed Q-objects in ↵Anssi Kääriäinen
ForeignObject.get_extra_descriptor_filter().
2016-02-10Fixed #26154 -- Deprecated CommaSeparatedIntegerFieldBrobin
2016-02-08Fixed #26162 -- Checked query name clashes of hidden relationships.Simon Charette
Although reverse accessor clashes should be skipped query name can't be hidden. Thanks to Ian Foote and Tim Graham for the review.
2016-02-08Refs #24007 -- Removed an apps.populate() call in model unpickling that can ↵Tim Graham
cause deadlocks.
2016-01-28Fixed #25354 -- Added class/app_label interpolation for related_query_name.James Pulec
2016-01-26Fixed #25546 -- Prevented duplicate queries with nested prefetch_related().François Freitag
2016-01-25Fixed #26125 -- Fixed E731 flake warnings.userimack
2016-01-22Fixed #25910 -- Rejected read-only property names in model constructors.Joshua Phillips
2016-01-20Fixed #26092 -- Fixed QuerySet.order_by() regression with an M2M through model.Anssi Kääriäinen
2016-01-11Fixed #25858 -- Bound abstract model application relative relationships.Simon Charette
Thanks to Karl Hobley for the report and Markus, Shai, Aymeric for their input and Tim for the review.
2016-01-07Fixed #26026 -- Fixed isinstance crash comparing EmptyQuerySet to non-QuerySet.Anderson Resende
2016-01-06Refs #25746 -- Added a test utility to isolate inlined model registration.Simon Charette
Thanks to Tim for the review.
2016-01-02Fixed #25316 -- Fixed a crash with order_by() and values() after annotate().varunnaganathan
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-26Fixed #8065 -- Made id_list an optional argument for QuerySet.in_bulk().Bryan Marty
2015-12-25Fixed #14286 -- Added models.BigAutoField.Alexander Sosnovskiy
2015-12-24Fixed #25984 -- Corrected RuntimeError message in ModelBase.__new__().Varun Sharma
2015-12-24Discouraged use of /tmp with predictable names.Chris Lamb
The use of predictable filenames in /tmp often leads to symlink attacks so remove the most obvious use of them in the docs.
2015-12-24Fixed #25981 -- Added need to update migrations to on_delete deprecation ↵Luis San Pablo
warning.
2015-12-24Fixed #25972 -- Restored support for the isnull lookup with ForeignObject.Tomo Otsuka
2015-12-17Fixed #25544 -- Removed duplicate ids in prefetch_related() queries.Ian Foote
2015-12-17Refs #25894 -- Fixed evaluation of zero-length slices of QuerySet.values() ↵Sergey Fedoseev
on Oracle.
2015-12-15Fixed #25894 -- Fixed evaluation of zero-length slices of QuerySet.values().Sergey Fedoseev
2015-12-14Fixed #25939 -- Removed redundant transaction in QuerySet.update_or_create().Ed Bartosh
There is no need to wrap the save() call in transaction.atomic() as it's already done down the call stack in Model.save_base().
2015-12-14Fixed #25882 -- Prevented fast deletes matching no rows from crashing on MySQL.Simon Charette
Thanks to Trac aliases gerricom for the report, raphaelmerx for the attempts to reproduce and Sergey Fedoseev and Tim for the review. Refs #16891
2015-12-05Fixed #25547 -- Made Model.refresh_from_db() update FileField's instance.Attila Tovt
2015-12-04Fixed #13774 -- Added models.Field.rel_db_type().Alexander Sosnovskiy
2015-12-03Fixed many spelling mistakes in code, comments, and docs.Josh Soref
2015-11-21Fixed #13427 -- Made auto-m2m verbose names translatableClaude Paroz
2015-11-21Fixed #25715 -- Fixed Model.refresh_from_db() with ForeignKey ↵Tim Graham
w/on_delete=SET_NULL.
2015-11-17Simplified lists creation in three places.Dmitry Dygalo
2015-11-14Fixed #25750 -- Made Options._expire_cache() fasterPatryk Zawadzki
Avoided unnecessary list operations and delattr() calls that result in an exception being raised as it causes call frame reconstruction which is very costly, especially so in a function that is called millions of times.
2015-11-11Fixed #25723 -- Made related field checks lookup against their local apps.Simon Charette