Simon Charette
4d334bea06
[2.2.x] Fixed CVE-2019-19844 -- Used verified user email for password reset requests.
...
Backport of 5b1fbcef7a
from master.
Co-Authored-By: Florian Apolloner <florian@apolloner.eu>
2019-12-18 09:16:08 +01:00
Mariusz Felisiak
86befcc172
[2.2.x] Refs #31073 -- Added release notes for 02eff7ef60
.
...
Backport of ec12c37384
from master.
2019-12-11 10:09:26 +01:00
Ryan Cheley
e8b0903976
[2.2.x] Fixed #31006 -- Doc'd backslash escaping in date/time template filters.
...
Backport of a1f14ee3e5
from master
2019-12-02 13:55:11 +01:00
Carlton Gibson
c759fb68a6
[2.2.x] Added CVE-2019-19118 to the security archive.
...
Backport of 900ea762e5
from master
2019-12-02 11:43:23 +01:00
Carlton Gibson
887139d1d7
[2.2.x] Removed issue reporter name from 2.1.15 and 2.2.8 release notes.
...
Backport of 368b8d20aa
from master
2019-12-02 10:03:21 +01:00
Carlton Gibson
d6fa509952
[2.2.x] Added release dates for 2.1.15, 2.2.8 and 3.0.
...
Backport of e31d185267
from master
2019-12-02 09:13:38 +01:00
Carlton Gibson
36f580a17f
Fixed CVE-2019-19118 -- Required edit permissions on parent model for editable inlines in admin.
...
Thank you to Shen Ying for reporting this issue.
2019-12-02 08:58:14 +01:00
Mariusz Felisiak
70311e1d00
[2.2.x] Refs #30953 -- Added 2.1.15 release note for 0107e3d105
.
...
Backport of 39e39d0ac1
from master
2019-12-02 08:12:33 +01:00
Mariusz Felisiak
6cf3b6f5cf
[2.2.x] Fixed #30953 -- Made select_for_update() lock queryset's model when using "self" with multi-table inheritance.
...
Thanks Abhijeet Viswa for the report and initial patch.
Backport of 0107e3d105
from master
2019-12-02 07:58:44 +01:00
Mariusz Felisiak
9a17ae50c6
[2.2.x] Fixed #31021 -- Fixed proxy model permissions data migration crash with a multiple databases setup.
...
Regression in 98296f86b3
.
Backport of e8fcdaad5c
from master
2019-11-29 11:10:59 +01:00
Baptiste Mispelon
019a1b9274
[2.2.x] Fixed #31029 -- Used more specific links to RFCs.
...
Backport of ff1b19da67
from master
2019-11-28 08:00:49 +01:00
Baptiste Mispelon
57f5a7e36b
[2.2.x] Refs #31029 -- Added note about :rfc: role in writing documentation docs.
...
Backport of 42df1b178b
from master
2019-11-28 08:00:43 +01:00
Mariusz Felisiak
3cf70df468
[2.2.x] Fixed #31018 -- Removed django-nonrel in NoSQL databases FAQ.
...
Backport of a36f7ed6ac
from master
2019-11-27 07:37:54 +01:00
Adam Johnson
e82a1bcf62
[2.2.x] Improved custom MultiWidget example in docs.
...
Backport of 7742cc0c8f
from master
2019-11-26 18:35:56 +01:00
Sergey Fedoseev
c2a8a69b72
[2.2.x] Used 🎫 role in all tickets links.
...
Backport of abc51d44af
from master.
2019-11-26 14:45:15 +01:00
Baptiste Mispelon
7873d3757d
[2.2.x] Fixed #31031 -- Fixed data loss in admin changelist view when formset's prefix contains regex special chars.
...
Regression in b18650a263
.
Backport of 52936eface
from master
2019-11-26 09:19:39 +01:00
Sergey Fedoseev
2af606003a
[2.2.x] Updated link to IBM DB2 backend.
...
See https://github.com/ibmdb/python-ibmdb/pull/375
Backport of 5573a54d40
from master
2019-11-25 21:00:44 +01:00
Baptiste Mispelon
28dd5362ae
[2.2.x] Fixed #31025 -- Fixed highlightlinenothreshold deprecation warning on Sphinx 1.8+.
...
Backport of 89d41cba39
from master
2019-11-25 10:35:42 +01:00
Sergey Fedoseev
f2f8e84939
[2.2.x] Doc'd SpatiaLite support of 3D geometry fields.
...
Support was added in 65129aac07
.
Backport of 85c5989007
from master
2019-11-25 09:31:44 +01:00
Baptiste Mispelon
ad56858e83
[2.2.x] Fixed #28469 -- Doc'd how to create a custom HttpResponse subclass.
...
Backport of 9f1ec9efc3
from master
2019-11-25 08:35:54 +01:00
Hasan Ramezani
8a8ea93b98
[2.2.x] Fixed #30625 -- Doc'd cache.get()/delete() behavior change in Django 2.2.
...
Backport of f69b32782e
from master
2019-11-21 10:55:16 +01:00
Sergey Fedoseev
9c0fed53ed
[2.2.x] Made versionadded/versionchanged annotations without a content end with ".".
...
Regression in d2afa5eb23
.
Backport of 5032556483
from master
2019-11-21 09:04:08 +01:00
Caio Ariede
11e42001d9
[2.2.x] Fixed #27164 -- Fixed an example of using routers in multiple databases docs.
...
Make sure that AuthRouter includes ContentType in the same database.
Backport of 608e06023e
from master
2019-11-20 11:51:59 +01:00
Mariusz Felisiak
4082f078bc
[2.2.x] Added stub release notes for 2.1.15.
...
Backport of e9def97d10
from master
2019-11-19 12:45:04 +01:00
Hasan Ramezani
c31252fc75
[2.2.x] Fixed #30999 -- Fixed typo in docs/howto/custom-template-tags.txt.
...
Backport of 33eecfa740
from master
2019-11-19 10:09:55 +01:00
Luke Plant
da186625a0
[2.2.x] Expanded API stability docs to include our policy of continual improvement.
...
Backport of 5cef2cd4a1
from master
2019-11-18 21:40:22 +01:00
Baptiste Mispelon
d5e8ad0049
[2.2.x] Fixed #30990 -- Fixed example output in 'z' date format docs.
...
Backport of 1185c6172b
from master
2019-11-18 12:04:51 +01:00
Mariusz Felisiak
622158b371
[2.2.x] Refs #29926 -- Doc'd Python 3.8 compatibility in Django 2.2.x.
...
Backport of b93a0e34d9
from master.
2019-11-12 22:15:27 +01:00
Mariusz Felisiak
8eda248dc9
[2.2.x] Refs #29926 -- Bumped minimum tblib version to 1.5.0 in test requirements.
...
Backport of 25903e41fb
from master.
2019-11-12 21:49:09 +01:00
Mariusz Felisiak
90c730d963
[2.2.x] Added stub release notes for 2.2.8 release.
...
Backport of 30359496a3
from master
2019-11-12 14:42:34 +01:00
David Foster
afde973061
[2.2.x] Fixed #30828 -- Added how to remove/insert many-to-many relations in bulk to the database optimization docs.
...
Backport of 6a04e69e68
from master
2019-11-12 13:13:49 +01:00
Mariusz Felisiak
612c2d166c
[2.2.x] Fixed typo in docs/topics/files.txt.
...
Backport of 08c0d8b16b
from master
2019-11-11 11:52:38 +01:00
Hasan Ramezani
6429d71ecb
[2.2.x] Fixed #30252 -- Clarified need to reopen forms.fields.ImageField.image file to access raw image data.
...
Backport of 2282d9f2e5
from master
2019-11-11 11:49:26 +01:00
Farhaan Bukhsh
f55f89f908
[2.2.x] Fixed #30958 -- Used a clearer example in the Cast() docs.
...
Backport of 4cb15450ad
from master
2019-11-11 10:10:51 +01:00
Jon Dufresne
3627fc5ee6
[2.2.x] Refs #30948 -- Updated install instructions to use pip instead of setup.py.
...
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>
Backport of eee4da3b57
from master
2019-11-08 21:17:38 +01:00
Carlton Gibson
a2305a0c0a
[2.2.x] Doc'd archiving historical branches as git tags.
...
Backport of a32f983be8
from master
2019-11-08 12:11:53 +01:00
Shipeng Feng
5ad97e53fd
[2.2.x] Fixed #30955 -- Doc'd that only concrete base models are stored in historical models bases.
...
Abstract models are removed from bases when generating historical model
state since 6436f1fad9
.
Backport of 8058d9d7ad
from master.
2019-11-08 09:44:58 +01:00
René Fleschenberg
a39db53e0c
[2.2.x] Replaced 'n_' prefix with 'number_of_' in docs/topics/db/queries.txt.
...
Backport of 367634f976
from master
2019-11-07 09:41:27 +01:00
Farhaan Bukhsh
398a9f4209
[2.2.x] Fixed #30865 -- Doc'd that not all DATABASES['OPTIONS'] are passed to command-line client.
...
Backport of cc5622ec8c
from master
2019-11-07 08:35:36 +01:00
Daniel Fairhead
7a13f06f36
[2.2.x] Fixed #15742 -- Fixed an example of collecting selected objects in ModelAdmin.actions docs.
...
The queryset argument is already filtered, and request.POST doesn't
contain all selected objects when "Select All" is used.
Backport of e651b3095c
from master
2019-11-06 13:41:36 +01:00
Dan Swain
8b14545d36
[2.2.x] Documented arguments for custom 500 error view.
...
Backport of 422b875c65
from master
2019-11-06 09:27:45 +01:00
Jon Dufresne
9f81af4be4
[2.2.x] Added a link to the file email backend from EMAIL_FILE_PATH setting.
...
Backport of c8debd5061
from master
2019-11-06 08:39:09 +01:00
Jon Dufresne
4325239e2d
[2.2.x] Fixed #30944 -- Changed reusable apps docs to use a declarative config.
...
Backport of 89368ab6e3
from master.
2019-11-05 15:05:37 +01:00
kola-er
22466f91dc
[2.2.x] Fixed #30928 -- Clarified MySQL/MariaDB support of QuerySet.select_for_update() options.
...
Thanks Par Andersson for reporting the issue.
Backport of d94d7b113c
from master
2019-11-05 14:56:45 +01:00
Alasdair Nicol
406fb336b7
[2.2.x] Refs #30923 -- Fixed an example of rendering templates in contrib.sites docs.
...
Backport of b991eefd3a
from master
2019-11-05 12:42:51 +01:00
Mariusz Felisiak
a7f90d9c02
[2.2.x] Refs #30947 -- Changed tuples to lists in model Meta options examples in docs.
...
Follow up to 97d3321e89
.
Backport of e5cacb1f47
from master
2019-11-05 08:40:38 +01:00
Adam Johnson
24a0ce187a
[2.2.x] Updated list of field types conversions in ModelForm docs.
...
Backport of 5a856669bf
from master
2019-11-04 11:04:30 +01:00
Mariusz Felisiak
1cbf607009
[2.2.x] Updated man page for Django 2.2.
2019-11-04 08:44:55 +01:00
Mariusz Felisiak
6f26693cc8
[2.2.x] Added release dates for 2.2.7, 2.1.14, and 1.11.26.
...
Backport of 126cfefce2
from master
2019-11-04 08:26:38 +01:00
Carlton Gibson
785d1706c4
[2.2.x] Fixed #30931 -- Restored ability to override Model.get_FIELD_display().
...
Thanks Sergey Fedoseev for the implementation idea.
Regression in a68ea23101
.
Backport of 2d38eb0ab9
from master
2019-11-04 08:17:50 +01:00
Gil Forcada Codinachs
eb8a53c7c1
[2.2.x] Fixed typo in docs/ref/signals.txt.
...
Backport of 632d7bbd3d
from master
2019-10-30 16:53:51 +01:00
Mariusz Felisiak
3ca4457af3
[2.2.x] Corrected error message in Many-to-many relationships docs.
...
Backport of a370dbd954
from master
2019-10-30 16:18:18 +01:00
André Ericson
972eef6b90
[2.2.x] Fixed #30927 -- Simplified an example of test for the deprecation warning with assertWarnsMessage().
...
Backport of 54a7b02112
from master
2019-10-30 13:53:22 +01:00
Ken Whitesell
9d15f1ead9
[2.2.x] Fixed #30917 -- Clarified formsets topic documentation.
...
Backport of 4c762588ff
from master
2019-10-30 09:01:36 +01:00
Hasan Ramezani
4cc1549b6e
[2.2.x] Fixed #13750 -- Clarified need to reopen models.ImageField.image file to access raw image data.
...
Backport of f57e174fa6
from master
2019-10-29 16:10:37 +01:00
Mariusz Felisiak
4d992bc7d1
[2.2.x] Fixed typo in docs/topics/files.txt.
...
Backport of bf7b3e2750
from master
2019-10-29 16:10:27 +01:00
Adam Johnson
4c0979bba4
[2.2.x] Documented the order in which signal receivers are called.
...
Backport of ab0fd3f58f
from master
2019-10-28 13:32:09 +01:00
Mariusz Felisiak
48df40262b
[2.2.x] Refs #30908 -- Fixed the empty value of forms.FilePathField in docs.
...
Backport of daa9415f78
from master
2019-10-25 11:23:23 +02:00
Saad
fb77d53ffe
[2.2.x] Fixed #30904 -- Doc'd caveat about using filtered queryset with select_for_update() on MySQL.
...
Backport of fc2b1cc926
from master
2019-10-25 09:00:40 +02:00
Hasan Ramezani
9d627bf9b2
[2.2.x] Fixed #30906 -- Fixed an example of using the template system to generate CSV.
...
Backport of 05c3ef26a2
from master
2019-10-25 08:12:40 +02:00
Hannes Ljungberg
7fe09e6d41
[2.2.x] Fixed #30903 -- Fixed migrations crash on PostgreSQL when adding Index with opclasses and ordering.
...
Backport of fa5f3291e7
from master
2019-10-24 09:53:33 +02:00
Mariusz Felisiak
c7f4a7da0d
[2.2.x] Added tblib to the list of test suite dependencies in documentation.
...
Backport of 2a54ce72f9
from master
2019-10-23 15:28:02 +02:00
Antonio Dudarev
43bc59ceb6
[2.2.x] Refs #13724 -- Corrected QuerySet signature in docs.
...
Backport of 6c23b43655
from master
2019-10-22 14:24:46 +02:00
Mariusz Felisiak
aa28213eb5
[2.2.x] Refs #28436 -- Corrected docs regarding MySQL support of distance lookups.
...
Backport of 440603a4bc
from master
2019-10-16 14:40:43 +02:00
Carlton Gibson
26ac7ae080
[2.2.x] Moved "Sign the CLA" to the bottom of New Contributor First Steps.
...
As discussed on the mailing list, step 1 of First Steps shouldn't be
"Find a printer".
https://groups.google.com/d/topic/django-developers/owOqFmxufgs/discussion
Backport of adfd920cc5
from master
2019-10-15 14:11:33 +02:00
Ad Timmering
5733504752
[2.2.x] Fixed #30816 -- Doc'd how to create projects with a local copy of Django.
...
Backport of dee687e93a
from master
2019-10-15 12:54:56 +02:00
Graham Healy
4dc3192a36
[2.2.x] Fixed #30808 -- Added the Django Forum to contributing index.
...
Backport of 90abdba086
from master
2019-10-15 09:08:18 +02:00
Simon Charette
f037ae11ec
[2.2.x] Refs #26207 -- Removed obsolete note about slow constructing a model with deferred fields.
...
This is not true since 7f51876
removed the necessity of creating
proxy model classes at runtime for each deferred field sets.
Backport of 35396a7f24
from master
2019-10-14 12:53:32 +02:00
Mariusz Felisiak
d2f02aa56b
[2.2.x] Fixed #30870 -- Fixed showing that RunPython operations are irreversible by migrate --plan.
...
Thanks Hasan Ramezani for the initial patch and Kyle Dickerson for the
report.
Backport of 06d34aab7c
from master.
2019-10-14 11:45:47 +02:00
René Fleschenberg
d4d37d0900
[2.2.x] Clarified that SECURE_REDIRECT_EXEMPT patterns should not include leading slashes.
...
Backport of d232fd76a8
from master
2019-10-11 16:07:38 +02:00
Louise Grandjonc
323467e286
[2.2.x] Fixed #30826 -- Fixed crash of many JSONField lookups when one hand side is key transform.
...
Regression in 6c3dfba892
.
Backport of 7d1bf29977
from master
2019-10-11 11:52:32 +02:00
Kees Hink
4f7ba25e67
[2.2.x] Fixed #27086 -- Doc'd fix for test suite hang on macOS.
...
Backport of 5d9cf79baf
from master
2019-10-09 15:51:00 +02:00
Carlton Gibson
c22945f4c7
[2.2.x] Added note to check Python version in unit tests troubleshooting section.
...
At DjangoCon US 2019 sprints, a number of contributors hit problems with an outdated Python.
Backport of 06e087c3de
from master
2019-10-09 15:50:52 +02:00
Carlton Gibson
67bfedd2ae
[2.2.x] Corrected section indentation in unit tests contributor docs.
...
Backport of b39c39e82a
from master
2019-10-09 15:50:47 +02:00
Mac Chapman
8c1b492e5f
[2.2.x] Fixed #11097 -- Added note about parent link fields in formsets for multi-table inheritance models.
...
Backport of 0b7378db1f
from master
2019-10-09 12:55:23 +02:00
Carlton Gibson
9763ed7a66
[2.2.x] Fixed #30858 -- Clarified that AdminEmailHandler processes all 5xx responses.
...
Backport of 94eae4e563
from master
2019-10-09 10:17:03 +02:00
Caio Ariede
5e91adc79d
[2.2.x] Fixed #28790 -- Doc'd how to avoid running certain test classes in parallel.
...
Backport of dafdfd6a60
from master
2019-10-08 12:34:02 +02:00
Caio Ariede
46a05e10a4
[2.2.x] Fixed #28273 -- Doc'd fast nullable column creation with defaults.
...
Backport of 06909fe084
from master
2019-10-07 14:37:39 +02:00
Tamer Sherif
98573cfe48
[2.2.x] Refs #10348 -- Doc'd that ModelAdmin ignores list_select_related when QuerySet.select_related() was already called.
...
Backport of e3f647f4d5
from master
2019-10-07 11:11:15 +02:00
Katie McLaughlin
146086f219
[2.2.x] Fixed #30834 -- Added explicit list of supported databases to the databases docs.
...
Backport of 9dca904a5b
from master
2019-10-03 19:49:32 +02:00
Mar Sánchez
f5f4c28bfc
[2.2.x] Refs #15396 -- Mentioned full path to GZipMiddleware in documentation.
...
Backport of f1d4a540b2
from master
2019-10-02 14:59:14 +02:00
Katherine Michel
8ac918a913
[2.2.x] Refs #30010 -- Doc'd running tests with django-docker-box.
...
Backport of f7eb9fb676
from master
2019-10-02 14:02:17 +02:00
Carlton Gibson
09013aae13
[2.2.x] Refs #28699 -- Clarified CSRF middleware ordering in relation to RemoteUserMiddleware.
...
Backport of 9446950470
from master
2019-10-02 13:12:00 +02:00
Sjbrgsn
da31472abf
[2.2.x] Fixed #30817 -- Clarified return value of Sitemap.items().
...
Backport of 7b3c06cd72
from master
2019-10-02 12:20:04 +02:00
Mariusz Felisiak
18df8484bd
[2.2.x] Added stub release notes for 1.11.26 and 2.1.14.
...
Backport of 84322a29ce
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 e1c1eaf0c6
from master
2019-10-01 10:45:07 +02:00
Carlton Gibson
e1a75db7d1
[2.2.x] Added release dates for 2.2.6, 2.1.13, and 1.11.25.
...
Backport of 3826aed46d
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 e02f67ef2d
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 45554fd5c5
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 abba563c86
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 c2678e4975
from master
2019-09-27 09:56:29 +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 566fca14b3
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 bc46e386c7
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 6c69de80bd
.
Backport of 3f141719a1
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 d71497bb24
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 e8ad265ac8
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 343afa7880
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 bae05bcf68
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 44077985f5
from master
2019-09-16 10:05:02 +02:00