26819 Commits

Author SHA1 Message Date
Mariusz Felisiak
18df8484bd [2.2.x] Added stub release notes for 1.11.26 and 2.1.14.
Backport of 84322a29ce9b0940335f8ab3d60e55192bef1e50 from master
2019-10-02 07:56:02 +02:00
Carlton Gibson
c3302c7976 [2.2.x] Added stub release notes for 2.2.7.
Backport of e1c1eaf0c6f4d3d2f60513d20aa9b84b17d096ec from master
2019-10-01 10:45:07 +02:00
Carlton Gibson
a00d823951 [2.2.x] Post-release version bump. 2019-10-01 10:36:02 +02:00
Carlton Gibson
b0654fd6fa [2.2.x] Bumped version for 2.2.6 release. 2.2.6 2019-10-01 10:27:56 +02:00
Carlton Gibson
e1a75db7d1 [2.2.x] Added release dates for 2.2.6, 2.1.13, and 1.11.25.
Backport of 3826aed46d7d4310c2ab6777a4f92165ca4d8d4f from master
2019-10-01 08:51:15 +02:00
David Vaz
43c894ffe7 [2.2.x] Doc'd that migrate commmand accepts a unique migration name prefix.
Backport of e02f67ef2d03d48128e7a118bf75f0418e24e8ac from master
2019-09-30 09:47:55 +02:00
David Vaz
4116b369b1 [2.2.x] Fixed #30597 -- Clarified how to unapply migrations.
Backport of 45554fd5c5c6a536db3ce70d78646d3dc398cf08 from master
2019-09-27 22:41:16 +02:00
David Vaz
1ac2f25ec0 [2.2.x] Refs #30597 -- Added a warning about dependent apps when unapplying migrations.
Backport of abba563c8635a52e8b657dee7708202e1f69433c from master
2019-09-27 20:09:58 +02:00
David Vaz
a6972e8854 [2.2.x] Fixed #30216 -- Doc'd that BooleanField is no longer blank=True in Django 2.1. 2019-09-27 13:00:32 +02:00
Glenn
b1eea8a73a [2.2.x] Fixed #27921 -- Clarified usage of make_aware() with is_dst argument.
Backport of c2678e49759e5c4c329bff0eeca2886267005d21 from master
2019-09-27 09:56:29 +02:00
Pablo García
38af257988 [2.2.x] Fixed #30810 -- Fixed WatchmanReloaderTests.test_setting_timeout_from_environment_variable test.
client_timeout is an instance attribute.

Backport of 2fd610eb301dc01e100befed891e8007fd2e981f from master
2019-09-27 08:36:48 +02:00
Adam Johnson
80d78fd651 [2.2.x] Documented admonition on when to use custom signals
Thanks Cesar Canassa for the suggestion and Aymeric Augustin for review.
Backport of 566fca14b3e1406f918898de5bb2b2382a44edaf from master
2019-09-25 10:40:49 +01:00
Mariusz Felisiak
acc0d99e6c [2.2.x] Refs #30350 -- Doc'd support for range serialization in migrations.
Backport of bc46e386c7aa496642d3ffc9e4f56ae5a46417a7 from master
2019-09-24 13:56:06 +02:00
Ryan Nowakowski
f314cebe82 [2.2.x] Updated the default cache key transformation in documentation.
Follow up to 6c69de80bdcd2744bc64cb933c2d863dd5e74a33.
Backport of 3f141719a198983a41840e3c2ea542f87c92e4c1 from master
2019-09-24 12:43:57 +02:00
Claude Paroz
29d2f5a662 [2.2.x] Refs #26601 -- Used new-style middlewares in documentation.
Backport of d71497bb249a2c3ffec41e99089f5ae8e575f2d3 from master
2019-09-24 09:59:41 +02:00
Jezeniel Zapanta
62a4a5062f [2.2.x] Fixed #30732 -- Doc'd that SameSite cookies flags can affect xframe_options_exempt.
Backport of e8ad265ac882f8f118d2c4a7618bd3e3916fc13e from master
2019-09-24 08:44:54 +02:00
Mariusz Felisiak
ae2dee6ecf [2.2.x] Refs #29915 -- Doc'd limitation of using pattern lookups with UUIDField on PostgreSQL.
Backport of 343afa788080fb874bcd10eab1a1a2fede98c526 from master
2019-09-23 08:47:01 +02:00
Carlton Gibson
268e7c7747 [2.2.x] Fixed #27462 -- Clarifed pk_set difference in m2m_changed signal receivers for add() and remove().
Thank you to Mariusz Felisiak for review.

Backport of bae05bcf68710cb6dafa51325c3ec83ddda83c39 from master
2019-09-19 11:41:32 +02:00
Katie McLaughlin
242805c82b [2.2.x] Fixed #30775 -- Added admonition about missing imports to "Running tests" section in tutorial 5.
Backport of 44077985f58be02214a11ffde35776fed3c960e1 from master
2019-09-16 10:05:02 +02:00
Simon Charette
7806e45454 [2.2.x] Fixed #30769 -- Fixed a crash when filtering against a subquery JSON/HStoreField annotation.
This was a regression introduced by 7deeabc7c7526786df6894429ce89a9c4b614086
to address CVE-2019-14234.

Thanks Tim Kleinschmidt for the report and Mariusz for the tests.

Backport of 6c3dfba89215fc56fc27ef61829a6fff88be4abb from master
2019-09-16 08:53:31 +02:00
Mariusz Felisiak
e4fb132f43 [2.2.x] Added stub release notes for 1.11.25 and 2.1.13.
Backport of bd7e0f81f8590eadcb820c976ba03c9b75bbcad6 from master
2019-09-16 07:43:49 +02:00
Claude Paroz
f452d4232e [2.2.x] Fixed #29823 -- Doc'd limitation of DecimalField on SQLite.
Backport of b8dff52f440adfb78b40e19ee8bff45373ca2501 from master
2019-09-14 17:25:33 +02:00
Ben Falk
1864d61d6c [2.2.x] Fixed typos in docs/ref/settings.txt.
Backport of 4056558a1c9cf650ab6e7cb1a319206d2e8c770f from master.
2019-09-13 20:38:44 +02:00
Simon Charette
964dd4f4f2 [2.2.x] Fixed #30754 -- Prevented inclusion of aliases in partial index conditions.
SQLite doesn't repoint table aliases in partial index conditions on table
rename which breaks the documented table alteration procedure.

Thanks Pēteris Caune for the report.

Backport of 34decdebf157b6f05836009cc1967f74ee541fdf from master
2019-09-10 10:04:12 +02:00
Nick Pope
be053c0b2a [2.2.x] Standardized links for headers in security middleware documentation.
Backport of fc62e16291136513ac0d67d6a2c71e8674740435 from master
2019-09-09 13:42:31 +02:00
Katie McLaughlin
1f304ebdc6 [2.2.x] Fixed #30767 -- Improved references to deployment documentation.
* Increased tocdepth to expose more complexity of topics.
* Ensured deployment checklist is linked on main doc page.

Backport of fee75d2aed4e58ada6567c464cfd22e89dc65f4a from master.
2019-09-09 10:06:58 +02:00
Mariusz Felisiak
fe33dd67fb [2.2.x] Fixed typo in docs/internals/contributing/writing-documentation.txt.
Backport of 053ff7e9e65ce82bb7ee72bff3dcdb797e16dbb9 from master
2019-09-05 14:09:02 +02:00
Carlton Gibson
dee22a024b [2.2.x] Refs #30573 -- Noted to avoid "simple" & co. in Writing Style guide.
Co-authored-by: Tobias Kunze <r@rixx.de>

Backport of ed2d411aa84efc76baba3adf0d0f99df0e44ba57 from master
2019-09-05 10:15:19 +02:00
Min ho Kim
23946bdb06 [2.2.x] Changed example git clone URLs to use HTTPS.
Backport of 3c6a4fdb6d828a03e368632d88f8261cc30104da from master
2019-09-04 08:12:36 +02:00
Mariusz Felisiak
b71cabe459 [2.2.x] Added stub release notes for 2.2.6.
Backport of 0d4529d314f5b804c4e856146f6641a73027a2c4 from master
2019-09-04 08:06:12 +02:00
Mariusz Felisiak
96f1d82401 [2.2.x] Post-release version bump. 2019-09-02 09:04:02 +02:00
Mariusz Felisiak
ce97960e34 [2.2.x] Bumped version for 2.2.5 release. 2.2.5 2019-09-02 08:21:38 +02:00
Mariusz Felisiak
8514c6f329 [2.2.x] Updated man page for Django 2.2. 2019-09-02 08:00:01 +02:00
Mariusz Felisiak
4ed59db199 [2.2.x] Added release dates for 2.2.5, 2.1.12, and 1.11.24.
Backport of 47f49adc11c0d39be3f41f92becc1f606c49d8ce from master
2019-09-02 07:45:40 +02:00
Daria Kolodzey
11cdfb3408 [2.2.x] Fixed #30738 -- Fixed typo in docs/ref/forms/widgets.txt.
Thanks Emmanuel Cazenave for the report.
Backport of 3f8ee58ccc5c55e62625ad797ddde05778fe1bec from master
2019-08-31 10:59:41 +02:00
Andrew
16e5e8ff5a [2.2.x] Fixed #30733 -- Doc'd that datetime lookups require time zone definitions in the database.
Note was missing for date, year, iso_year, week, time, hour, minute,
and second lookups.

Backport of 29adcd215f80383f00d9f837311e857142319722 from master
2019-08-28 09:07:35 +02:00
Tom Forbes
6402855098 [2.2.x] Fixed #30500 -- Fixed race condition in loading URLconf module. 2019-08-27 20:09:30 +02:00
Matthew Schinckel
6c17b86590 [2.2.x] Doc'd for_save argument of Expression.resolve_expression().
Backport of dba749917f73ce517448a42fed38dd61382e92a7 from master
2019-08-27 17:13:35 +02:00
Ali Mirlou
56f7a62d28 [2.2.x] Fixed typo in docs/ref/applications.txt.
Backport of 33b9b23bbb6c373843ef184d24438c1bdff37c82 from master
2019-08-23 08:49:00 +02:00
François Freitag
9b7c5a92ec [2.2.x] Fixed broken links and redirects in documentation.
Removed reference to custom builds, feature removed in
8e6b3bba99.
Backport of 9a88e43aeba6cc85ffb2a48a06c296ccf68e0d71 from master
2019-08-21 10:58:05 +02:00
Harrison88
0dc3ad163a [2.2.x] Fixed #30695 -- Used relative path in default_storage docs example.
Backport of 1e429df748867097451bf0b45d1080ae6828d921 from master
2019-08-20 12:03:04 +02:00
Garry Polley
4a24fe940e [2.2.x] Removed outdated examples of flatpages served sites.
Removing the lawrence journal flat page examples because one is no longer a web page (404) and the other is no longer served by Django: https://www.reddit.com/r/django/comments/8v0fpb/the_lawrence_journalworld_where_django_was/
Backport of 10528a81edaca4275e4762b82336e129b0cfe17d from master
2019-08-19 12:28:27 +02:00
Mariusz Felisiak
98464dde12 [2.2.x] Fixed broken links and redirects to OGR library in docs.
Backport of 49aeabbf27637dbdb7a96d43b164a20c8c8ea70b from master
2019-08-19 11:43:44 +02:00
bcye
9ecff12720 [2.2.x] Fixed broken links to Dive Into Python 3 book.
Backport of ac34fccdb900788c2e024ea61bbaf4be7a46cce1 from master
2019-08-19 07:20:39 +02:00
Claude Paroz
556cef1ba8 [2.2.x] Fixed #30694 -- Documented FileResponse does not seek its file source.
Backport of 7203efb799969b4662ecb58f4cefd2a5f2e0062b from master
2019-08-17 09:21:48 +02:00
Mariusz Felisiak
6624a3de28
[2.2.x] Fixed test_json.TestQuerying.test_key_transform_expression() on Python 3.5. 2019-08-15 19:38:12 +02:00
zeyneloz
c2732e6839 [2.2.x] Fixed #30449 -- Fixed RelatedFieldListFilter/RelatedOnlyFieldListFilter to respect model's Meta.ordering.
Regression in 6d4e5feb79f7eabe8a0c7c4b87f25b1a7f87ca0b.

Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of 00035672a460b6eb5442d2837bc783f8af28c6f3 from master
2019-08-15 13:14:17 +02:00
Mariusz Felisiak
52a7759a49 [2.2.x] Fixed #30672 -- Fixed crash of JSONField/HStoreField key transforms on expressions with params.
Regression in 4f5b58f5cd3c57fee9972ab074f8dc6895d8f387.

Thanks Florian Apolloner for the report and helping with tests.

Backport of 1f8382d34d54061eddc41df6994e20ee38c60907 from master.
2019-08-14 15:29:13 +02:00
Akash Agrawal
be4a2a0358 [2.2.x] Fixed #30696 -- Removed obsolete mention of CheckConstraint in the AddConstraint docs.
Follow up to 8eae094638acf802c8047b341d126d94bc9b45a3.

Backport of c1b26c77a94c13b350d80e9a2f8d0393dee737cd from master
2019-08-11 16:30:44 +02:00
Akash Agrawal
8a3a328020 [2.2.x] Fixed #30670 -- Doc'd SchemaEditor.add/remove_constraint().
Backport of af08a5441585393b287535b9417436b896bd8052 from master
2019-08-11 03:28:01 +02:00