Commit Graph

4837 Commits

Author SHA1 Message Date
Mariusz Felisiak 0c06819caa [4.0.x] Refs #33476 -- Used vertical hanging indentation for format lists with inline comments.
Lists with multiple values and comments per-line are reformatted
by Black to multiple lines with a single comment. For example:

DATE_INPUT_FORMATS =
    "%Y-%m-%d", "%m/%d/%Y", "%m/%d/%y",  # '2006-10-25', '10/25/2006', '10/25/06'
]

is reformatted to the:

DATE_INPUT_FORMATS =
    "%Y-%m-%d",
    "%m/%d/%Y",
    "%m/%d/%y",  # '2006-10-25', '10/25/2006', '10/25/06'
]

This reformats affected entries to multiple lines with corresponding
comments.

Backport of ca88caa103 from main
2022-02-01 15:14:17 +01:00
Markus Holtermann 0142204606 [4.0.x] Fixed CVE-2022-22818 -- Fixed possible XSS via {% debug %} template tag.
Thanks Keryn Knight for the report.

Backport of 394517f078 from main.

Co-authored-by: Adam Johnson <me@adamj.eu>
2022-02-01 07:43:45 +01:00
Thomas Aglassinger 9a9c5b402b [4.0.x] Fixed #33459 -- Clarified index type in full text search docs.
Backport of 3a9b8b25d4 from main
2022-01-28 06:37:14 +01:00
Scott Pashley 92e1018178 [4.0.x] Fixed typo in docs/ref/contrib/admin/index.txt.
Backport of 367d6920ec from main
2022-01-12 07:45:30 +01:00
Victor Peralta cf4128e6e9 [4.0.x] Fixed typo in docs/ref/contrib/admin/index.txt.
Backport of f1905db6c0 from main
2022-01-11 06:20:30 +01:00
Mariusz Felisiak dfda5ff722 [4.0.x] Corrected signatures of some functions in docs.
Backport of 178109c173 from main
2022-01-10 13:31:25 +01:00
Mariusz Felisiak 6554f00df6 [4.0.x] Corrected directive for signals in django.contrib.auth docs.
Backport of b0ccf74549 from main
2022-01-10 13:31:19 +01:00
Florian Apolloner 2a8ec7f546 [4.0.x] Fixed CVE-2021-45116 -- Fixed potential information disclosure in dictsort template filter.
Thanks to Dennis Brinkrolf for the report.

Co-authored-by: Adam Johnson <me@adamj.eu>
2022-01-04 10:10:14 +01:00
Mariusz Felisiak fe59bf202d [4.0.x] Fixed #33391 -- Clarified Aggregate.empty_result_set_value docs.
Backport of 4400d8568a from main
2021-12-31 06:49:55 +01:00
mangelozzi b93fb3d6be [4.0.x] Improved @display(empty_value) example in ModelAdmin.empty_value_display docs.
Backport of eb901681ab from main
2021-12-30 11:39:45 +01:00
Mariusz Felisiak b5f60ef5a7 [4.0.x] Refs #32355 -- Bumped required psycopg2 version to 2.8.4.
psycopg2 2.8.4 is the first release to support Python 3.8.
Backport of ca04659b4b from main
2021-12-22 20:33:49 +01:00
David Smith a0e01b000a [4.0.x] Refs #31026 -- Updated TemplatesSetting docs to refer to forms.
Backport of 78f062f63e from main
2021-12-22 08:43:44 +01:00
Adam Johnson ad09b1687d [4.0.x] Added TemplatesSetting to list of built-in renderers in FORM_RENDERER docs.
Backport of fde425051c from main
2021-12-22 07:59:58 +01:00
Brenton Partridge b85ceaaba6 [4.0.x] Fixed #32600 -- Fixed Geometry collections and Polygon segmentation fault on macOS ARM64.
Backport of 19fb838803 from main
2021-12-21 13:36:08 +01:00
Mariusz Felisiak 267a743bf2 [4.0.x] Refs #33365, Refs #30530 -- Doc'd re_path() behavior change in Django 2.2.25, 3.1.14, and 3.2.10.
Follow up to d4dcd5b9dd.
Backport of 5de12a369a from main
2021-12-15 18:54:35 +01:00
mgaligniana cc5bbd447b [4.0.x] Fixed #33338 -- Doc'd that never_cache() decorator set Expires header.
Backport of 669dcefc04 from main
2021-12-13 18:38:48 +01:00
Beomsoo Kim c607ee949d [4.0.x] Corrected example in models.DecimalField docs.
Backport of 7e4a9a9f69 from main
2021-12-13 07:20:56 +01:00
Wayne Lambert e39e5fa8e6 [4.0.x] Updated link to Microsoft SQL Server backend.
Backport of 8a8c8797e8 from main
2021-12-13 07:17:33 +01:00
Ömer Faruk Abacı bb8435f5db [4.0.x] Refs #33319 -- Added note about commutation of QuerySet's | operator.
Backport of f04b44bad4 from main
2021-12-08 21:59:40 +01:00
Hannes Ljungberg fed7f992ac [4.0.x] Fixed #33335 -- Made model validation ignore functional unique constraints.
Regression in 3aa545281e.

Thanks Hervé Le Roy for the report.

Backport of 1eaf38fa87 from main
2021-12-06 13:28:54 +01:00
Shivam Durgbuns 306fbf197a [4.0.x] Fixed #33334 -- Alphabetized form and model fields in reference docs.
Backport of d75c387f46 from main
2021-12-02 10:12:31 +01:00
Mariusz Felisiak 70b05c5374 [4.0.x] Corrected signatures of QuerySet's methods.
Backport of a17becf4c7 from main
2021-11-23 07:04:59 +01:00
Mariusz Felisiak b7b3bbc835 [4.0.x] Fixed #33253 -- Reverted "Fixed #32319 -- Added ES module support to ManifestStaticFilesStorage."
This reverts commit 91e21836f6.

`export` and `import` directives have several syntax variants and not
all of them were properly covered.

Thanks Hervé Le Roy for the report.
Backport of ba9ced3e9a from main
2021-11-05 12:11:59 +01:00
Vikash Singh 149db49b96 [4.0.x] Added Google Cloud Spanner to list of third-party DB backends.
Backport of 125f9afc2c from main
2021-11-01 10:10:33 +01:00
Carlton Gibson afe090481f [4.0.x] Refs #33182 -- Adjusted custom admin theming example to use correct template block.
Backport of a754b82dac from main
2021-10-27 12:17:21 +02:00
Arkadiusz Adamski ac815f6ea8 [4.0.x] Fixed #33210 -- Clarified docs for sitemaps ping_google() helper.
Backport of 1405dc7887 from main
2021-10-21 20:27:53 +02:00
Mariusz Felisiak a2e1cdc8ca [4.0.x] Fixed #33215 -- Confirmed support for GEOS 3.10.
Backport of 9231526af4 from main
2021-10-21 20:25:28 +02:00
David Smith 5d62beb61a [4.0.x] Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings.
Backport of 7ef0bc922c from main
2021-10-20 09:11:04 +02:00
David Smith 6aa917383f [4.0.x] Refs #32956 -- Changed docs to treat the acronym HTTP phonetically.
Backport of 69b0736fad from main
2021-10-19 06:33:00 +02:00
Nick Frazier f5fd03aebe [4.0.x] Fixed #33198 -- Corrected BinaryField.max_length docs.
Backport of 0d4e575c96 from main
2021-10-18 08:24:08 +02:00
Sih Sîng-hông薛丞宏 3e27ac131e [4.0.x] Doc'd a precise exception type in Paginator.page() docs.
Backport of 30d8932753 from main
2021-10-13 09:13:39 +02:00
Nick Frazier fe97f8bb62 [4.0.x] Improved docs regarding UTF-8 support with Apache and mod_wsgi.
Backport of bf4be3711a from main
2021-10-08 15:50:00 +02:00
David Smith fc325a1981 [4.0.x] Refs #31026 -- Improved BoundField.label_tag() docs.
Backport of 9be36f8044 from main
2021-10-07 06:11:51 +02:00
Jacob Walls 515d3c591c [4.0.x] Fixed #22224 -- Added note about supplying missing values for non-nullable fields with blank=True.
Backport of cd6bddd44e from main
2021-10-05 06:37:59 +02:00
Hannes Ljungberg 816e809302 [4.0.x] Fixed #32888 -- Doc'd that select_for_update() only locks tables with selected columns.
Backport of d400b08a8b from main
2021-10-04 10:21:08 +02:00
Sarah Abderemane 7fa946c76b [4.0.x] Refs #27694 -- Doc'd lookups that can be chained with HStoreField key transforms.
Backport of 1953dd02b6 from main
2021-10-04 07:44:15 +02:00
David Wobrock aab76433ed [4.0.x] Fixed #33141 -- Renamed Expression.empty_aggregate_value to empty_result_set_value.
Backport of ad36a198a1 from main
2021-09-29 20:52:59 +02:00
Mariusz Felisiak a9479202d7 [4.0.x] Corrected field and model check messages in docs.
Follow up to 72d04e0385.
Backport of 93f3b7a0ba from main
2021-09-28 10:57:54 +02:00
Claude Paroz 80de140b06 [4.0.x] Removed obsolete GEOS 3.5 requirement note.
Follow up to ea87a85fad.
Backport of 8036b53de6 from main
2021-09-24 18:52:37 +02:00
Mariusz Felisiak 9511a05074 [4.0.x] Fixed broken links and redirects in docs.
Backport of 1d16dbc745 from main
2021-09-21 09:28:38 +02:00
David Smith 456466d932 Fixed #31026 -- Switched form rendering to template engine.
Thanks Carlton Gibson, Keryn Knight, Mariusz Felisiak, and Nick Pope
for reviews.

Co-authored-by: Johannes Hoppe <info@johanneshoppe.com>
2021-09-20 15:50:18 +02:00
Mariusz Felisiak ef4ef3b8f5
Fixed #32504 -- Updated admin's jQuery to 3.6.0. 2021-09-20 06:54:35 +02:00
Nikita Marchant 4e4082f939 Fixed #32492 -- Added TrigramWordSimilarity() and TrigramWordDistance() on PostgreSQL. 2021-09-17 13:05:15 +02:00
Giannis Adamopoulos 4555aa0a48 Fixed #27674 -- Deprecated GeoModelAdmin and OSMGeoAdmin.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-09-17 08:56:16 +02:00
Mariusz Felisiak b5bf026813 Corrected outputs and made cosmetic edits in GeoDjango tutorial. 2021-09-17 08:56:16 +02:00
Carlton Gibson 306607d5b9 Fixed #32365 -- Made zoneinfo the default timezone implementation.
Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick
Pope, and Paul Ganssle for reviews.
2021-09-16 12:11:05 +02:00
David Smith 7132d17de1 Doc'd Jinja2 form renderer. 2021-09-16 11:25:00 +02:00
Daniyal ec212c6616 Fixed #33012 -- Added Redis cache backend.
Thanks Carlton Gibson, Chris Jerdonek, David Smith, Keryn Knight,
Mariusz Felisiak, and Nick Pope for reviews and mentoring this
Google Summer of Code 2021 project.
2021-09-14 15:50:08 +02:00
Claude Paroz 676bd084f2 Fixed #32873 -- Deprecated settings.USE_L10N.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-09-14 12:05:43 +02:00
sdwoodbury 691b8dd8ed
Made CSRF JavaScript example more reusable. 2021-09-13 06:36:27 +02:00