Commit Graph

14 Commits

Author SHA1 Message Date
Tim Graham 45cf4ae862 [2.0.x] Added release date for 2.0.1 and 1.11.9.
Backport of 3ae2bcc768 from master
2018-01-01 19:35:05 -05:00
Mariusz Felisiak b54302d226
[2.0.x] Fixed #28958 -- Fixed admin changelist crash when using a query expression in the page's ordering.
Thanks Tim Graham for the review.

Backport of c815213740 from master
2017-12-27 18:46:05 +01:00
Ran Benita 4e4619a2b8 [2.0.x] Fixed #28944 -- Fixed crash when chaining values()/values_list() after QuerySet.select_for_update(of=()).
Backport of c21f158295 from master
2017-12-26 12:18:39 -05:00
Simon Charette b40a1d774d [2.0.x] Fixed #28884 -- Fixed crash on SQLite when renaming a field in a model referenced by a ManyToManyField.
Introspected database constraints instead of relying on _meta.related_objects
to determine whether or not a table or a column is referenced on rename
operations.

This has the side effect of ignoring both db_constraint=False and virtual
fields such as GenericRelation which aren't backend by database level
constraints and thus shouldn't prevent the rename operations from being
performed in a transaction.

Regression in 095c1aaa89.

Thanks Tim for the additional tests and edits, and Mariusz for the review.

Backport of 9f7772e098 from master
2017-12-22 16:09:49 -05:00
Tilmann Becker c99ab335a1 [2.0.x] Fixed #28947 -- Fixed crash when coercing a translatable URL pattern to str.
Regression in df41b5a05d.

Backport of 01384ce36c from master
2017-12-20 20:56:57 -05:00
Tim Graham 6f86d8bc69 [2.0.x] Fixed #28941 -- Fixed crash in testserver command startup.
Regression in 2b09e4c88e.

Backport of e7b804c060 from master
2017-12-20 15:15:24 -05:00
Sergey Fedoseev 0f7ca1e878 [2.0.x] Fixed #28915 -- Prevented SQLite from truncating trailing zeros in the fractional part of DecimalField.
This reverts commit a146b65628 and adds
a test for the regression.

Backport of 6fd6d8383f from master
2017-12-12 22:01:25 -10:00
Rodrigo Pinheiro Marques de Araújo 9f39f202ab [2.0.x] Fixed #28898 -- Corrected admin check to allow a OneToOneField in ModelAdmin.autocomplete_fields.
Backport of 30a389bd77 from master
2017-12-12 21:40:05 -10:00
Sergey Fedoseev ce26ec0163 [2.0.x] Fixed #28896 -- Reallowed filtering a queryset with GeometryField=None.
Regression in 58da81a5a3.

Backport of da71e4bb08 from master
2017-12-12 17:15:29 -10:00
Morgan Wahl 5ca9cf47a7 [2.0.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI.
Forwardport of 3522203502 from stable/1.11.x
2017-12-08 14:00:50 -05:00
Mariusz Felisiak 741711f8a2 [2.0.x] Refs #28876 -- Fixed incorrect foreign key constraint name for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.

Backport of fc48047586 from master
2017-12-05 22:34:56 +01:00
Mariusz Felisiak 73ab743866 [2.0.x] Refs #28876 -- Fixed incorrect class-based model index name generation for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.

Backport of f79d9a322c from master
2017-12-05 22:34:47 +01:00
Nick Pope c1d57615ac [2.0.x] Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.
Regression in b52c73008a.

Backport of e014f91a70 from master
2017-12-05 11:44:11 -05:00
Tim Graham 7925351241 [2.0.x] Added stub release notes for 2.0.1.
Backport of 450c933fff from master
2017-12-02 10:42:34 -05:00