| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-12-01 | [2.0.x] Fixed #28849 -- Fixed referenced table and column rename on SQLite. | Simon Charette | |
| Thanks Ramiro for the input and Tim for the review. Backport of 095c1aaa898bed40568009db836aa8434f1b983d from master | |||
| 2017-12-01 | [2.0.x] Fixed #28863 -- Fixed filter on annotation that contains Q. | Sergey Fedoseev | |
| Backport of cf12257db23fa248c89a3da3f718aa01a50ca659 from master | |||
| 2017-12-01 | [2.0.x] Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign ↵ | Tim Graham | |
| key constraint" crash on MySQL with a sequence of AlterField or RenameField operations. Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9. Backport of c3e0adcad8d8ba94b33cabd137056166ed36dae0 from master | |||
| 2017-11-29 | [2.0.x] Fixed #28702 -- Made query lookups for CIText fields use citext. | Mads Jensen | |
| Backport of f0a68c25118786d47041d0a435b2afa953be3c86 from master | |||
| 2017-11-28 | [2.0.x] Fixed #28837 -- Fixed test client crash if an exception with more ↵ | Nicolas Delaby | |
| than one arg is raised. Also removed usage of the problematic pattern elsewhere. Regression in 6e55e1d88a5c4453e25f0caf7ffb68973de5c0ba. Backport of 746caf3ef821dbf7588797cb2600fa81b9df9d1d from master | |||
| 2017-11-27 | [2.0.x] Fixed #28848 -- Fixed SQLite/MySQL crash when ordering by a filtered ↵ | Raphael Michel | |
| subquery that uses nulls_first/nulls_last. Backport of 616f468760e4984915bb2ccca6b9eb3d80ddadb0 from master | |||
| 2017-11-21 | [2.0.x] Fixed #28817 -- Made QuerySet.iterator() use server-side cursors ↵ | Dražen Odobašić | |
| after values() and values_list(). Backport of d97f026a7ab5212192426e45121f7a52751a2044 from master | |||
| 2017-11-20 | [2.0.x] Fixed #28804 -- Fixed "Unknown system variable ↵ | Tim Graham | |
| 'transaction_isolation'" on MariaDB. Regression in 967450a3bf940c43db891fe1e2ef3bcf73456ff8. Backport of e3c852cbd609484b272f563f3c21066fb12ef7f8 from master | |||
| 2017-11-15 | [2.0.x] Fixed #28792 -- Fixed index name truncation of namespaced tables. | Simon Charette | |
| Refs #27458, #27843. Thanks Tim and Mariusz for the review. Backport of ee85ef8315db839e5723dea19d8b971420a2ebb4 from master | |||
| 2017-11-14 | [2.0.x] Fixed #28794 -- Fixed tx_isolation deprecation warning on MySQL 5.7.20+. | Sergey Fedoseev | |
| Backport of 967450a3bf940c43db891fe1e2ef3bcf73456ff8 from master | |||
| 2017-11-12 | [2.0.x] Fixed #28781 -- Added QuerySet.values()/values_list() support for ↵ | Mariusz Felisiak | |
| union(), difference(), and intersection(). Thanks Tim Graham for the review. Backport of 2d3cc94284674638c334670903d49565039d77ae from master | |||
| 2017-11-06 | [2.0.x] Fixed #28776 -- Fixed a/an/and typos in docs and comments. | Дилян Палаузов | |
| Backport of 6c0042430e3618ce5c276d195d92a6b884daa3a3 from master | |||
| 2017-10-31 | [2.0.x] Fixed #28750 -- Allowed models to define ↵ | Charlie Denton | |
| Meta.manager_inheritance_from_future for backwards compatibility. Refs 631f4ab06112aca5bd6a57b81159048f936050bf. Backport of cbe334918a0a80762249706a15b699714b5dc828 from master | |||
| 2017-10-30 | [2.0.x] Fixed #28742 -- Fixed AttributeError crash when assigning None to ↵ | Paulo | |
| cached reverse relations. Backport of fcfcf8aae470d893b0d2ef176434461edf9e9c4d from master | |||
| 2017-10-28 | [2.0.x] Refs #28010 -- Allowed reverse related fields in SELECT FOR UPDATE ↵ | Ran Benita | |
| .. OF. Thanks Adam Chidlow for polishing the patch. Backport of 03049fb8d96ccd1f1ed0285486103542de42faba from master | |||
| 2017-10-25 | [2.0.x] Fixed #28689 -- Fixed unquoted table names in Subquery SQL when ↵ | Mariusz Felisiak | |
| using OuterRef. Regression in f48bc7c3dbd204eefb3c19016b1e4906ac26bee3. Backport of 81e357a7e19f35235cc998459a10213532727d4e from master | |||
| 2017-10-21 | [2.0.x] Fixed #28722 -- Made QuerySet.reverse() affect nulls_first/nulls_last. | Tomer Chachamu | |
| Backport of 21a3a29dc9d138c248fd7922923b3ec710735c6c from master | |||
| 2017-10-18 | [2.0.x] Fixed outdated comment in RelatedObjectDoesNotExist. | Simon Charette | |
| Backport of 0a69479b6c58c9eb420e688e436b6c6e41415613 from master | |||
| 2017-10-16 | [2.0.x] Fixed #28497 -- Restored the ability to use sliced QuerySets with ↵ | Tim Graham | |
| __exact. Regression in ec50937bcbe160e658ef881021402e156beb0eaf. Thanks Simon Charette for review. Backport of 1b73ccc4bf78af905f72f4658cf463f38ebf7b97 from master | |||
| 2017-10-13 | [2.0.x] Corrected examples in related field descriptor docstrings. | Simon Charette | |
| Using lowercased model class names suggested that accessing the attribute from instances of the class returned an instance of the descriptor, but this is only the case when accessed from the model class. Backport of 9dd405973cc39c00e50e28869808fb0797fea2b4 from master | |||
| 2017-10-12 | [2.0.x] Fixed #27846 -- Made Model.refresh_from_db() clear cached relations. | Paulo | |
| Backport of a7b5ad8b19a08d7d57302ece74f6e26d2887fd9f from master | |||
| 2017-10-06 | [2.0.x] Refs #24254 -- Removed unnecessary SQL AS clause in ↵ | Mariusz Felisiak | |
| SQLCompiler.as_sql(). Incorrect on Oracle. Backport of 11ade8eefd32f5bc7ee6379b77824f02ca61c20b from master | |||
| 2017-10-05 | [2.0.x] Fixed #28596 -- Fixed QuerySet.bulk_create() and cascade deletion ↵ | Mariusz Felisiak | |
| crash on Oracle when using more than 65535 parameters. Thanks Tim Graham for the review. Backport of 1b823b8f182e8f31b8c9db281311ef718299eda7 from master | |||
| 2017-09-29 | [2.0.x] Fixed #27979 -- Made MySQL raise IntegrityError rather than ↵ | Tim Graham | |
| OperationalError when saving negative numbers in PositiveInteger fields. Backport of dd82f3327124fd2762cf6df2ac8c6380772bf127 from master | |||
| 2017-09-29 | [2.0.x] Refs #28492 -- Defined aggregates' output_field at the class level. | Simon Charette | |
| Missed in 08654a99bbdd09049d682ae57cc94241534b29f0. Backport of f1b713024e3a1e8c6361ea407cb8248224f7cc82 from master | |||
| 2017-09-22 | Fixed #27332 -- Added FilteredRelation API for conditional join (ON clause) ↵ | Nicolas Delaby | |
| support. Thanks Anssi Kääriäinen for contributing to the patch. | |||
| 2017-09-21 | Refs #28595 -- Added a hook to add execute wrappers for database queries. | Shai Berger | |
| Thanks Adam Johnson, Carl Meyer, Anssi Kääriäinen, Mariusz Felisiak, Michael Manfre, and Tim Graham for discussion and review. | |||
| 2017-09-20 | Removed unused list in Query.resolve_lookup_value(). | Nicolas Delaby | |
| Unneeded since its introduction in 4f138fe5a496a81115c4fba6615a517fc62c3b17. | |||
| 2017-09-18 | Fixed #28597 -- Fixed crash with the name of a model's autogenerated primary ↵ | Mariusz Felisiak | |
| key in an Index's fields. | |||
| 2017-09-18 | Fixed #26608 -- Added support for window expressions (OVER clause). | Mads Jensen | |
| Thanks Josh Smeaton, Mariusz Felisiak, Sergey Fedoseev, Simon Charettes, Adam Chainz/Johnson and Tim Graham for comments and reviews and Jamie Cockburn for initial patch. | |||
| 2017-09-18 | Changed default value of DatabaseFeatures.has_bulk_insert to True. | Mads Jensen | |
| 2017-09-16 | Removed unneeded StdDev.convert_value() and Variance.convert_value(). | Sergey Fedoseev | |
| Seems unneeded since its introduction in f59fd15c4928caf3dfcbd50f6ab47be409a43b01. | |||
| 2017-09-16 | Simplified Count.convert_value() and RegrCount.convert_value(). | Sergey Fedoseev | |
| 2017-09-15 | Removed unnecessary check in SQLCompiler.get_related_selections(). | Tim Graham | |
| 2017-09-13 | Refs #27090 -- Added real database sequence introspection. | Mariusz Felisiak | |
| Thanks Mariusz Felisiak for the Oracle part and Tim Graham for the review. | |||
| 2017-09-11 | Fixed #28492 -- Defined default output_field of expressions at the class level. | Simon Charette | |
| This wasn't possible when settings were accessed during Field initialization time as our test suite setup script was triggering imports of expressions before settings were configured. | |||
| 2017-09-11 | Refs #28492 -- Stopped accessing settings at Field.db_tablespace initialization. | Simon Charette | |
| Deferring accesses to settings allows database fields to be initialized before settings are loaded. | |||
| 2017-09-11 | Fixed #28578 -- Renamed DatabaseCreation number arguments to suffix. | Jon Dufresne | |
| 2017-09-10 | Removed unnecessary parens in _get_app_label_and_model_name(). | Mariusz Felisiak | |
| 2017-09-07 | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | |
| This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | |||
| 2017-09-07 | Removed unneeded __init__() methods. | Sergey Fedoseev | |
| 2017-09-06 | Fixed #15648 -- Allowed QuerySet.values_list() to return a namedtuple. | Sergey Fedoseev | |
| 2017-09-06 | Refs #23919 -- Replaced usage of django.utils.functional.curry() with ↵ | Sergey Fedoseev | |
| functools.partial()/partialmethod(). | |||
| 2017-09-06 | Replaced @cached_property with class attributes where possible. | Sergey Fedoseev | |
| 2017-09-06 | Removed DatabaseWrapper.psycopg2_version. | Sergey Fedoseev | |
| Unused since 3adc5f1ee6618a615db07d4a868b366a15c39f82. | |||
| 2017-09-06 | Replaced deque() with list() in prefetch_related_objects(). | Sergey Fedoseev | |
| deque() isn't needed since algorithm doesn't require FIFO. | |||
| 2017-09-05 | Fixed #11557 -- Added support for a list of fields in Meta.get_latest_by and ↵ | François Freitag | |
| QuerySet.earliest()/latest(). | |||
| 2017-09-05 | Fixed #28335 -- Allowed query expressions in Meta.ordering. | Dima Kudosh | |
| 2017-09-05 | Removed unneeded __init__() in PostgreSQL DatabaseWrapper. | Mads Jensen | |
| 2017-09-05 | Fixed typo in django/db/models/query.py docstring. | Boris Burkov | |
