Commit Graph

4155 Commits

Author SHA1 Message Date
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
Hasan Ramezani c3a9d3050c [2.2.x] Fixed typos in signals and custom management commands docs.
Backport of a7038adbd0 from master
2019-06-19 08:41:51 +02:00
Hasan Ramezani 1ce04289f1 [2.2.x] Fixed typos and example in signals.pre_init docs.
Backport of 036362e0cf from master
2019-06-18 15:09:07 +02:00
Jon Dufresne 13e6040fd4 [2.2.x] Fixed intword example in docs/ref/contrib/humanize.txt.
Backport of 175656e166 from master
2019-06-11 22:12:24 +02:00
Vyacheslav Ver 36766e1a28 [2.2.x] Fixed #30486 -- Fixed the default value of Aggregate.distinct and updated example of custom aggregate functions.
Backport of 76b3fc5c8d from master
2019-06-11 12:02:02 +02:00
Mykola Nicholas d5d22e1090 [2.2.x] Changed charset and collation link to MySQL docs.
Backport of f3a03d5b61 from master
2019-06-11 11:17:23 +02:00
Mariusz Felisiak 430f7e9dac [2.2.x] Removed redundant object descriptions to prevent warnings with Sphinx 2.1.0.
Backport of 5ab75adb90 from master
2019-06-10 16:57:50 +02:00
Caio Ariede d6d65c1e87 [2.2.x] Fixed #30505 -- Doc'd how changes in the order of Field.choices affect migrations.
Backport of 5248abe9b0 from master
2019-06-04 14:57:08 +02:00
parth 5c85244eb9 [2.2.x] Fixed #28831 -- Doc'd that InlineModelAdmin methods' obj argument is the parent object.
Backport of 8543647306 from master
2019-05-31 13:21:13 +02:00
Brad Solomon 0f0d1cd772 [2.2.x] Fixed #30491 -- Clarified when save() on object with pk executes INSERT.
Backport of 67b6cb7723 from master
2019-05-28 11:28:28 +02:00
GwynBleidD 83605a17f0 [2.2.x] Refs #30062 -- Corrected UniqueConstraint signature in docs.
Backport of 5402061c80 from master
2019-05-20 10:54:19 +02:00