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 ca88caa1031c0de545d82de8d90dcae0e03651fb 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 394517f07886495efcf79f95c7ee402a9437bd68 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 3a9b8b25d48c5768633e73edc5ddca20c3fd716c 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 367d6920ece44639e54650d9a98f8c24e10f7229 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 f1905db6c0004a2b6c8b69c55a1f5f9da58ce2eb 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 178109c1734ccc16386c3e3cbae1465c7a1b8ed8 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 b0ccf74549fe138c040798e0e99fc0291a7e03ed 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 4400d8568ad5695c46e8de45635a82a27a26b871 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 eb901681ab58c008f7bbbe555e5f43f8e0893bd3 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 ca04659b4b3f042c1bc7e557c25ed91e3c56c745 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 78f062f63e7dea09c219fd1310d43950817f4c78 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 fde425051c31b240e8eca48a8eb54daa6d372c9f 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 19fb838803f63eef0726a370050443b693f109be 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 d4dcd5b9dd9e462fec8220e33e3e6c822b7e88a6.
Backport of 5de12a369a7b2231e668e0460c551c504718dbf6 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 669dcefc04837c35fc2ec5ce906d84397005965d from main
2021-12-13 18:38:48 +01:00
Beomsoo Kim
c607ee949d
[4.0.x] Corrected example in models.DecimalField docs.
...
Backport of 7e4a9a9f696574a18f5c98f34d5a88e254b2d394 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 8a8c8797e81b338f3c93a5a4e2483916e68e4a54 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 f04b44bad40369ec2df74b16adb4d3f09350e4b2 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 3aa545281e0c0f9fac93753e3769df9e0334dbaa.
Thanks Hervé Le Roy for the report.
Backport of 1eaf38fa87384fe26d1abf6e389d6df1600d4d8c 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 d75c387f46c55459a2daf071e5463bad0ad7dcbd from main
2021-12-02 10:12:31 +01:00
Mariusz Felisiak
70b05c5374
[4.0.x] Corrected signatures of QuerySet's methods.
...
Backport of a17becf4c7f4e4057e8c94990e4b4999be0aea95 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 91e21836f667c784a8a63ab1f18d81f553e679cb.
`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 ba9ced3e9a643a05bc521f0a2e6d02e3569de374 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 125f9afc2c42449ee79283fefa778651acfd4aed 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 a754b82dac511475b6276039471ccd17cc64aeb8 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 1405dc78872f9d18180feebb4f2c57dbe1259acb 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 9231526af4b9825583b0d3cb943f88109fd30551 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 7ef0bc922c0a78667ed8cbf5f85845b627ccbdf8 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 69b0736fad1d1f0197409ca025b7bcdf5666ae62 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 0d4e575c96d408e0efb4dfd0cbfc864219776950 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 30d8932753cd0e414469f8da7ebe21e963737273 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 bf4be3711acfbfc765fb17dc238b1b9bbad5b7be 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 9be36f8044c3bdfe5d1819d4b3b62bee64a039e3 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 cd6bddd44e0a1c3c6a96a3677f8366ef0e4b6782 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 d400b08a8baa697905daadd47a6ba12336e93336 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 1953dd02b6719ee89fddbc3098d86968d79f3cd7 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 ad36a198a12df4dff65992191b3eb0a474e2daac 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 72d04e03855536cf36090aedbb7aa8f1c4c8b443.
Backport of 93f3b7a0ba2969109940775a18515728603afac6 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 ea87a85fad9994dbb0748df25bc9c2d99b24809b.
Backport of 8036b53de61f16098a2f22c50621987182bdfaed 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 1d16dbc74563ec9aeb4bdff870d0fe5064667b26 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