1
0
mirror of https://github.com/django/django.git synced 2025-04-20 07:14:35 +00:00

25066 Commits

Author SHA1 Message Date
Nick Pope
c1d57615ac [2.0.x] Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.

Backport of e014f91a70aa3ccdddb363a733c76e35597424fa 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 dfeb19121b40cadd22b81c4b9d0373d617a695ed 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 3cc08f4b2ba6fe7931cf551676fa86a4966987e4 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 bee4c2baede18d8c8c0a29cd9affb18074dafd3a 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 3922f02dc6b10a3268a710a2837027d3999957a3 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 450c933fff2b180825dc2c7c1289380431479695 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. 2.0 2017-12-02 10:03:18 -05:00
Tim Graham
dbdf5deab0 [2.0.x] Refs #28871 -- Fixed admin_views selenium test failure.
Backport of 7664fe275910bb31fcca2d54844bedde19fc4ed9 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 335aad5d9170b3e3807ebd35a7dd74800df03588 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 81057645f61fe545f4f11737dbd3040043ed2436 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 095c1aaa898bed40568009db836aa8434f1b983d 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 474bd7a5d4b0b47eeedc03ad471ae9e630e95258 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 cf12257db23fa248c89a3da3f718aa01a50ca659 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 45ded053b1f4320284aa5dac63052f6d1baefea9.

Backport of c3e0adcad8d8ba94b33cabd137056166ed36dae0 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 03974d81220ffd237754a82c77913799dd5909a4 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 b9f8635f58ad743995cad2081b3dc395e55761e5.

Modified backport of e50add6ca1605dcc06c8c5a5770342779a4d5124 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 f0a68c25118786d47041d0a435b2afa953be3c86 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 6e55e1d88a5c4453e25f0caf7ffb68973de5c0ba.

Backport of 746caf3ef821dbf7588797cb2600fa81b9df9d1d 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 4f5526e346861c0b2ffa2ea7229747c883e14432 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 616f468760e4984915bb2ccca6b9eb3d80ddadb0 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 3f237c1a5b936a9b85304cffbf3343f491e395d6 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 a5f1e5809f26d93ea0c6010bb44895b3d1992089 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 d97f026a7ab5212192426e45121f7a52751a2044 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 6cb6382639cbd29c8348b42c4d43b02c950eff3a 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 967450a3bf940c43db891fe1e2ef3bcf73456ff8.

Backport of e3c852cbd609484b272f563f3c21066fb12ef7f8 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 bf49d9eb0b33aefc7179d3843fad0cb7df4e7790 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 9d1d3b2d2fe0bef995b024368088eeabbdf73629 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 931c60c5216bd71bc11f489e00e063331cf21f40 from master
2017-11-17 15:40:12 -05:00
Tim Graham
2b3907cf74 [2.0.x] Fixed #28802 -- Fixed typo in docs/topics/auth/default.txt.
Backport of d392fc293c9439c19451e152f9560f24d1659563 from master
2017-11-16 10:38:48 -05:00
Tim Graham
0f7b5b38b6 [2.0.x] Fixed #28796 -- Doc'd backwards incompatibility when reverse() receives bytestring args/kwargs.
Due to 301de774c21d055e9e5a7073e5bffdb52bc71079.

Backport of 6bf85ff7e3b837378589e449ba27be8971d9b14c from master
2017-11-16 09:29:50 -05:00
Tim Graham
498b5db6fe [2.0.x] Bumped version for 2.0 release candidate 1. 2.0rc1 2017-11-15 18:40:13 -05:00
Mariusz Felisiak
3e7adb62bf
[2.0.x] Skipped test_exact_sliced_queryset_limit_one_offset on Oracle.
This required slicing on subquery with equal operator.

Thanks Tim Graham for the review.
2017-11-15 21:14:40 +01:00
Mariusz Felisiak
0b2eb44ca0 [2.0.x] Fixed incorrect integer division in DeletionTests.test_large_delete_related.
Backport of 3fb1ad9505fa28ec9c89039fbba40f6ebea8bf8e from master
2017-11-15 21:01:33 +01:00
Claude Paroz
cd6d18abc3 [2.0.x] Updated main translation catalog 2017-11-15 16:21:21 +01:00
Tim Graham
189d9b16c8 [2.0.x] Fixed test failures due to ordering differences on PostgreSQL 10.
Backport of 9bea555d06e0e585645053ae6ca9ac3dc8b899bd from master
2017-11-15 09:41:56 -05:00
Simon Charette
0696edbc6a [2.0.x] Fixed #28792 -- Fixed index name truncation of namespaced tables.
Refs #27458, #27843.

Thanks Tim and Mariusz for the review.

Backport of ee85ef8315db839e5723dea19d8b971420a2ebb4 from master
2017-11-15 07:58:36 -05:00
Tim Graham
022aebc550 [2.0.x] Fixed invalid escape sequence warning in check_framework test.
Backport of 532a4f22ad94db320cb0fd66f4c7ee57d17ac65a from master
2017-11-14 19:09:36 -05:00
Sergey Fedoseev
5638b77627 [2.0.x] Fixed #28794 -- Fixed tx_isolation deprecation warning on MySQL 5.7.20+.
Backport of 967450a3bf940c43db891fe1e2ef3bcf73456ff8 from master
2017-11-14 15:42:16 -05:00
Tim Graham
3f372ef9d3 [2.0.x] Fixed #28786 -- Doc'd middleware ordering considerations due to CommonMiddleware setting Content-Length.
Backport of bc95314ca6af0b5e993ae07fdc7d8e6166d3b8ca from master
2017-11-14 12:57:18 -05:00
Mariusz Felisiak
ca0a9c938f
[2.0.x] Fixed #28781 -- Added QuerySet.values()/values_list() support for union(), difference(), and intersection().
Thanks Tim Graham for the review.
Backport of 2d3cc94284674638c334670903d49565039d77ae from master
2017-11-12 14:31:21 +01:00
Tim Graham
3c8c3ff637 [2.0.x] Fixed #28777 -- Clarified the docs for admin.register's args.
Backport of abaf0ab4a444977dc8ac07b9b63256814c352245 from master
2017-11-09 21:22:03 -05:00
shanghui
36dd0126a5 [2.0.x] Fixed #28645 -- Reallowed AuthenticationForm to raise the inactive user error when using ModelBackend.
Regression in e0a3d937309a82b8beea8f41b17d8b6298da2a86.

Thanks Guilherme Junqueira for the report and Tim Graham for the review.

Backport of 359370a8b8ca0efe99b1d4630b291ec060b69225 from master
2017-11-08 09:45:35 -05:00
Andrei Fokau
a977ae9139 [2.0.x] Refs #28593 -- Updated old class names in comments following URL routing changes.
Backport of 3ae9c356c5d4b89caf8343aa3ffe0a66e713c9fd from master
2017-11-08 08:44:10 -05:00
Tim Graham
c869207ea2 [2.0.x] Fixed #28770 -- Warned that quoting a placeholder in a raw SQL string is unsafe.
Thanks Hynek Cernoch for the report and review.

Backport of 327f0f37ce3c1e5ac3a19668add237ddd92266d6 from master
2017-11-07 13:07:29 -05:00
Chris Lamb
518c11352c [2.0.x] Fixed #28663 -- Add a check for likely incorrectly migrated django.urls.path() routes.
Backport of 998c9dd599cd907bb38f440fff13a808571589f8 from master
2017-11-07 11:40:17 -05:00