Commit Graph

25233 Commits

Author SHA1 Message Date
Daniel Hepper cc17f39c9c [2.0.x] Fixed #28938 -- Corrected Python compatibility in the tutorial.
Backport of 4dcd7723d5 from master
2017-12-18 09:13:42 -10: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
Sergey Fedoseev a5c6040447 [2.0.x] Refs #27985 -- Reallowed using __exact=None as an alias for __isnull=True if a custom lookup class with lookup_name != None is registered as the exact lookup.
Regression in 58da81a5a3 and prerequisite
for refs #28896.

Backport of 10bfa876be from master
2017-12-12 17:15:16 -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
M Somerville 6dea1b18f3 [2.0.x] Fixed #28891 -- Documented Origin's loader attribute.
Backport of 16bd4964df from master
2017-12-07 12:20:22 -05:00
Sam Collins 66ccb3acb9 [2.0.x] Fixed typo in docs/ref/contrib/admin/index.txt.
Backport of 2d75e74e18 from master
2017-12-07 10:53:07 -05:00
Tim Graham a06828cd2e [2.0.x] Reverted "[1.11.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI."
This reverts commit a2aea4521d as it was
committed by mistake.
2017-12-07 09:06:09 -05:00
Mohammad Esmaeilbeygi 6b01ff80b2 [2.0.x] Fixed import in docs/ref/models/conditional-expressions.txt example.
Backport of 9d1d0e2b70 from master
2017-12-07 08:58:04 -05:00
Morgan Wahl a2aea4521d [1.11.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI. 2017-12-06 10:08:52 -05:00
Nick Pope e9d3dbaf3e [2.0.x] Added "Python 3 Only" trove classifier.
Backport of 1818d13de7 from master
2017-12-06 09:25:48 -05:00
Tim Graham e30674a1b7 [2.0.x] Fixed #28886 -- Updated prefix for example django.contrib.auth.urls URLs.
Backport of 4114b441ee from master
2017-12-06 09:24:01 -05:00
Tim Graham be70d3b968 [2.0.x] Fixed #28883 -- Doc'd that the uuid URL path converter matches lowercase only letters.
Backport of bae365e13c from master
2017-12-06 09:16:52 -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
Claude Paroz dd5d405e62 [2.0.x] Removed 'development' word in contributing docs
Backport of f2ec896912 from master.
2017-12-05 18:44:06 +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 e71f4e8632 [2.0.x] Added stub release notes for 1.11.9.
Backport of dfeb19121b from master
2017-12-05 10:55:35 -05:00
Igor Starikov b0d809ac6c [2.0.x] Fixed typo in docs/ref/models/expressions.txt.
Backport of 3cc08f4b2b from master
2017-12-05 08:40:07 -05:00
David Szotten 48beda6660 [2.0.x] Fixed grammar in docs/releases/2.0.txt.
Backport of bee4c2baed from master
2017-12-04 08:56:19 -05:00
Sergey Fedoseev 6a70b576b5 [2.0.x] Fixed typo in docs/topics/testing/advanced.txt.
Backport of 3922f02dc6 from master
2017-12-04 11:55:12 +01: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
Tim Graham 320b8c0e47 [2.0.x] Post-release version bump. 2017-12-02 10:23:20 -05:00
Tim Graham b99221b8bb [2.0.x] Bumped version for 2.0 release. 2017-12-02 10:03:18 -05:00
Tim Graham dbdf5deab0 [2.0.x] Refs #28871 -- Fixed admin_views selenium test failure.
Backport of 7664fe2759 from master
2017-12-02 09:59:02 -05:00
Tim Graham 6c05e69221 [2.0.x] Added release dates for 2.0 and 1.11.8.
Backport of 335aad5d91 from master
2017-12-02 08:56:06 -05:00
Tim Graham 63d425c679 [2.0.x] Fixed #28871 -- Fixed initialization of autocomplete widgets in "Add another" inlines.
Also allowed autocomplete widgets to work on AdminSites with a name other
than 'admin'.

Backport of 81057645f6 from master
2017-12-01 22:18:12 -05:00
Simon Charette 31d318d19c [2.0.x] Fixed #28849 -- Fixed referenced table and column rename on SQLite.
Thanks Ramiro for the input and Tim for the review.

Backport of 095c1aaa89 from master
2017-12-01 22:15:48 -05:00
Tim Graham 50b35eef0b [2.0.x] Used a separate admin site for autocomplete tests.
Backport of 474bd7a5d4 from master
2017-12-01 22:05:16 -05:00
Sergey Fedoseev 70da0420c2 [2.0.x] Fixed #28863 -- Fixed filter on annotation that contains Q.
Backport of cf12257db2 from master
2017-12-01 21:49:01 -05:00
Tim Graham 4dc35e126d [2.0.x] Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign key constraint" crash on MySQL with a sequence of AlterField or RenameField operations.
Regression in 45ded053b1.

Backport of c3e0adcad8 from master
2017-12-01 19:09:21 -05:00
Claude Paroz bfc3fa3d3b [2.0.x] Added Kabyle language 2017-12-01 21:11:20 +01:00
Claude Paroz 765e6de924 [2.0.x] Updated contrib translations from Transifex 2017-12-01 21:05:36 +01:00
Claude Paroz e886205988 [2.0.x] Updated core translations from Transifex 2017-12-01 19:46:54 +01:00
Vasiliy Bolshakov 6ece69a726 [2.0.x] Fixed #28866 -- Made InlineAdminFormSet include InlineModelAdmin's Media before its formset's Media.
This provides better backwards compatibility following refs #28377.

Backport of 03974d8122 from master
2017-12-01 08:45:50 -05:00
Simon Charette d31424fec1 [2.0.x] Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey pointing to a MTI model.
Regression in b9f8635f58.

Modified backport of e50add6ca1 from master
2017-11-30 10:43:38 -05:00
Mads Jensen 4d3b8e199e [2.0.x] Fixed #28702 -- Made query lookups for CIText fields use citext.
Backport of f0a68c2511 from master
2017-11-29 10:40:01 -05:00
Nicolas Delaby ae4132a940 [2.0.x] Fixed #28837 -- Fixed test client crash if an exception with more than one arg is raised.
Also removed usage of the problematic pattern elsewhere.

Regression in 6e55e1d88a.

Backport of 746caf3ef8 from master
2017-11-28 19:58:23 -05:00
Claude Paroz aba31aa86b [2.0.x] Fixed #28773 -- Forced pot files to use UNIX-style newlines
Thanks Hendy Irawan for the analysis and report.
Backport of 4f5526e346 from master.
2017-11-28 08:54:06 +01:00
Raphael Michel 75c1fd6538 [2.0.x] Fixed #28848 -- Fixed SQLite/MySQL crash when ordering by a filtered subquery that uses nulls_first/nulls_last.
Backport of 616f468760 from master
2017-11-27 11:39:57 -05:00
Luke Plant a11b610325 [2.0.x] Linked to prefetch_related_objects func in DB optimization docs.
Backport of e283c1a from master
2017-11-23 21:33:08 +03:00
Hyunwoo Park 4091a07f77 [2.0.x] Fixed typo in docs/topics/forms/media.txt.
Backport of 3f237c1a5b from master
2017-11-22 07:48:08 -05:00
Frédéric Massart 427a8b4485 [2.0.x] Clarified who the AdminEmailHandler emails.
Backport of a5f1e5809f from master
2017-11-21 12:05:49 -05:00
Dražen Odobašić 286120444f [2.0.x] Fixed #28817 -- Made QuerySet.iterator() use server-side cursors after values() and values_list().
Backport of d97f026a7a from master
2017-11-21 10:38:14 -05:00
Tim Graham d380afc6a5 [2.0.x] Added assertion helpers for PostgreSQL's server-side cursor tests.
Backport of 6cb6382639 from master
2017-11-21 08:27:26 -05:00
Tim Graham 205290f510 [2.0.x] Fixed #28804 -- Fixed "Unknown system variable 'transaction_isolation'" on MariaDB.
Regression in 967450a3bf.

Backport of e3c852cbd6 from master
2017-11-20 10:08:58 -05:00
Benjamin Bach 385e06d8c0 [2.0.x] Fixed #28815 -- Fixed ExtractYear imports in docs/ref/models/expressions.txt.
Backport of bf49d9eb0b from master
2017-11-17 17:30:37 -05:00
Tim Graham 5b21e3983d [2.0.x] Refs #28814 -- Fixed test_runner failure on Python 3.7.
Due to https://bugs.python.org/issue30399.

Backport of 9d1d3b2d2f from master
2017-11-17 17:25:20 -05:00
Tim Graham 8e63cc582f [2.0.x] Refs #28814 -- Fixed "SyntaxError: Generator expression must be parenthesized" on Python 3.7.
Due to https://bugs.python.org/issue32012.

Backport of 931c60c521 from master
2017-11-17 15:40:12 -05:00