Commit Graph

4165 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Claude Paroz f452d4232e [2.2.x] Fixed #29823 -- Doc'd limitation of DecimalField on SQLite.
Backport of b8dff52f44 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 4056558a1c from master.
2019-09-13 20:38:44 +02:00
Nick Pope be053c0b2a [2.2.x] Standardized links for headers in security middleware documentation.
Backport of fc62e16291 from master
2019-09-09 13:42:31 +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 3f8ee58ccc 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 29adcd215f from master
2019-08-28 09:07:35 +02:00
Matthew Schinckel 6c17b86590 [2.2.x] Doc'd for_save argument of Expression.resolve_expression().
Backport of dba749917f 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 33b9b23bbb 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 9a88e43aeb from master
2019-08-21 10:58:05 +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 10528a81ed 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 49aeabbf27 from master
2019-08-19 11:43:44 +02:00
Claude Paroz 556cef1ba8 [2.2.x] Fixed #30694 -- Documented FileResponse does not seek its file source.
Backport of 7203efb799 from master
2019-08-17 09:21:48 +02:00
Akash Agrawal be4a2a0358 [2.2.x] Fixed #30696 -- Removed obsolete mention of CheckConstraint in the AddConstraint docs.
Follow up to 8eae094638.

Backport of c1b26c77a9 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 af08a54415 from master
2019-08-11 03:28:01 +02:00
Carlton Gibson c5cbb797d7 [2.2.x] Fixed #30688 -- Clarified base_manager_name docs.
Backport of 514efa3129 from master
2019-08-09 10:10:15 +02:00
Adnan Umer 1265a26b2f [2.2.x] Fixed #30673 -- Relaxed system check for db_table collision when database routers are installed by turning the error into a warning.
Backport of 8d3519071e from master.
2019-08-08 21:40:06 +02:00
niauah 5b294d3931 [2.2.x] Corrected StreamingHttpResponse.streaming_content description in docs.
Backport of 75f8264083 from master
2019-08-02 16:47:00 +02:00
Mariusz Felisiak 506f800ead [2.2.x] Refs #30083 -- Added a warning about performing queries in pre/post_init receivers.
Thanks Carlton Gibson the review.

Backport of fc1182af01 from master
2019-07-19 16:07:29 +02:00
Mariusz Felisiak fa3ae446d9 [2.2.x] Refs #30083 -- Clarified database state of instances in signals.pre_init docs.
Backport of a2e1c17f19 from master
2019-07-19 16:07:21 +02:00
Mariusz Felisiak 0088e59292 [2.2.x] Refs #30547 -- Clarified that partial UniqueConstraints don't affect model validation.
Backport of 230d75f59c from master
2019-07-18 12:56:52 +02:00
Mariusz Felisiak 4814db40c1 [2.2.x] Fixed heading level typo in docs/ref/contrib/postgres/fields.txt.
Backport of ad4e83a6d1 from master
2019-07-16 15:08:40 +02:00
Hasan Ramezani a39365c48e [2.2.x] Doc'd --no-input option for createsuperuser.
Backport of 8dd5877f58 from master
2019-07-11 10:26:16 +02:00
Mariusz Felisiak 8f0b9e7f9a [2.2.x] Fixed typos in docs/ref/django-admin.txt.
Backport of 24e8f7f7d3 from master
2019-07-09 13:39:35 +02:00
Carlton Gibson b6d8957356 [2.2.x] Fixed #28588 -- Doc'd User.has_perm() & co. behavior for active superusers.
Equivalent note for PermissionsMixin was added in d33864ed13.
Backport of 4b32d039db from master
2019-07-02 11:21:46 +02:00
aitoehigie b9d1bb6955 [2.2.x] Fixed #30589 -- Clarified that urlize should be applied only to email addresses without single quotes.
Backport of c2f381ef17 from master
2019-07-01 12:03:56 +02:00
Carlton Gibson 77706a3e47 [2.2.x] Fixed CVE-2019-12781 -- Made HttpRequest always trust SECURE_PROXY_SSL_HEADER if set.
An HTTP request would not be redirected to HTTPS when the
SECURE_PROXY_SSL_HEADER and SECURE_SSL_REDIRECT settings were used if
the proxy connected to Django via HTTPS.

HttpRequest.scheme will now always trust the SECURE_PROXY_SSL_HEADER if
set, rather than falling back to the request scheme when the
SECURE_PROXY_SSL_HEADER did not have the secure value.

Thanks to Gavin Wahl for the report and initial patch suggestion, and
Shai Berger for review.

Backport of 54d0f5e62f from master
2019-07-01 07:50:48 +02:00
Alexey Opalev f3b036593f [2.2.x] Fixed typo in docs/ref/models/indexes.txt.
Backport of 2f91e7832f from master
2019-06-24 09:01:12 +02:00
Claude Paroz 3b2701e4f2 [2.2.x] Removed unneeded non-breaking spaces added in 00169bc36
Backport of 8590726a5d from master.
2019-06-22 10:28:26 +02:00
Chris Jerdonek d200069b15 [2.2.x] Refs #30565 -- Doc'd HttpResponse.close() method.
Backport of 533311782f from master
2019-06-20 11:49:52 +02:00
Swat009 c3a0f76d11 [2.2.x] Fixed #30547 -- Doc'd how Meta.constraints affect model validation.
Backport of 00169bc361 from master
2019-06-20 10:45:20 +02:00