1
0
mirror of https://github.com/django/django.git synced 2024-12-29 12:36:08 +00:00
Commit Graph

5086 Commits

Author SHA1 Message Date
AP Jama
dae052d823 [4.2.x] Fixed #34595 -- Doc'd that format_string arg of format_html() is not escaped.
Backport of 4037223d0f from main
2023-06-01 13:10:45 +01:00
Akash Kumar Sen
dca5f5d58a [4.2.x] Fixed #34600 -- Removed references to bleach in docs.
Backport of b0a6cc7f57 from main
2023-05-31 10:23:37 +01:00
Natalia
25bd9faf32 [4.2.x] Fixed #34574 -- Noted unexpected outcomes in autoescape/escape docs.
Backport of 1a59a324ce from main.
2023-05-26 07:50:19 +02:00
Stefan Brand
a44e974412 [4.2.x] Corrected documentation of Log database function.
Backport of eb9df03a43 from main
2023-05-24 05:30:43 +02:00
Mariusz Felisiak
cdd970ae22 [4.2.x] Fixed #34568 -- Made makemigrations --update respect --name option.
Thanks David Sanders for the report.
Backport of c52f4295f2 from main
2023-05-17 13:15:30 +02:00
Mariusz Felisiak
2b5c5e54de [4.2.x] Updated broken links in docs.
Backport of 93830abf76 from main
2023-05-17 12:13:40 +02:00
Alexerson
ddccecee91 [4.2.x] Fixed #34556 -- Doc'd that StreamingHttpResponse accepts memoryviews and strings iterators.
Backport of 599f3e2cda from main
2023-05-12 10:36:03 -03:00
Alberto Sottile
dbe263751c [4.2.x] Clarified database connections lifetime outside HTTP requests.
Backport of e901407e23 from main
2023-05-12 08:10:51 -03:00
Pan Dango
bcf66f1355 [4.2.x] Corrected code-block directive in docs/ref/templates/builtins.txt.
Backport of 12ec80726f from main
2023-05-07 14:52:16 +02:00
Jannis Vajen
4eaed191b6 [4.2.x] Corrected code-block directives in docs.
Backport of 024954aad4 from main
2023-05-04 19:34:19 +02:00
Andrei Shabanski
88f23b6b81 [4.2.x] Refs #33662 -- Corrected Sitemap.get_languages_for_item() signature in docs.
Backport of 5c456a8793 from main
2023-04-27 19:54:18 +02:00
Tom Forbes
01779cdcef [4.2.x] Doc'd that Count("*") is equivalent to COUNT(*) SQL.
Backport of 23d24f82a7 from main
2023-04-27 11:54:26 +02:00
Mariusz Felisiak
a4f7d935a2 [4.2.x] Added meaningful titles to ..admonition:: directives.
Backport of c487634c10 from main
2023-04-21 12:04:21 +02:00
David Sanders
9967faab0b [4.2.x] Fixed #34440 -- Doc'd that & queryset operator works similar to chaining.
Backport of 0494efddc4 from main
2023-04-20 09:12:03 +02:00
Sage Abdullah
f80dbcf7dc [4.2.x] Fixed #34435 -- Doc'd that JSONField.default must be a callable.
Backport of 01ae9d4ca9 from main
2023-04-19 21:53:04 +02:00
Tim Graham
7679741c46 [4.2.x] Added Snowflake to list of third-party DB backends.
Backport of 57f2b935b3 from main
2023-04-17 07:44:37 +02:00
Tim Graham
26f181939e [4.2.x] Used extlinks for PyPI links.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of 2c4dc64760 from main
2023-04-17 07:44:29 +02:00
Edison Wang
5094013134 [4.2.x] Fixed #34419 -- Doc'd django.contrib.admin.sites.all_sites.
Backport of 255f534590 from main
2023-04-15 08:29:24 +02:00
Sarah Boyce
e34a54a36e [4.2.x] Refs #34028 -- Doc'd that get_script_prefix() cannot be used outside of the request-response cycle.
Backport of bdf59bff65 from main
2023-04-06 13:02:00 +02:00
Edison Wang
9ef2625cd5 [4.2.x] Fixed #34431 -- Improved Date/DateTimeField/TimeField.input_formats docs.
Backport of cbcc1240e9 from main
2023-04-03 08:15:10 +02:00
Mariusz Felisiak
870067e578 [4.2.x] Fixed typos in docs/ref/forms/renderers.txt.
Backport of 659f6b5bc5 from main
2023-03-24 12:55:15 +01:00
Mariusz Felisiak
f2923306f1 [4.2.x] Fixed #34322 -- Made ES module support to ManifestStaticFilesStorage optional.
Co-authored-by: Author: Claude Paroz <claude@2xlibre.net>
Backport of e10c1688f9 from main
2023-03-18 14:06:09 +01:00
Ayush Bisht
eff2ba3f8d [4.2.x] Fixed #34404 -- Clarified how FileResponse set Content-Type header.
Backport of fc266b694b from main
2023-03-16 08:31:23 +01:00
Adam Johnson
a0f46ea7e8 [4.2.x] Corrected example in CreateCollation() docs.
Backport of 4db33e96d1 from main
2023-03-12 15:03:07 +01:00
Mariusz Felisiak
2e57dc490b [4.2.x] Doc'd that action descriptions are %-formatted.
Co-authored-by: JD Bothma <jbothma@gmail.com>

Backport of cc67344db9 from main
2023-03-09 15:44:40 +01:00
Mariusz Felisiak
87a55e0b51 [4.2.x] Fixed #34395 -- Updated admin's jQuery to 3.6.4.
Backport of 18473004af from main
2023-03-09 08:55:34 +01:00
David Wobrock
6937c92169 [4.2.x] Fixed #34384 -- Fixed session validation when rotation secret keys.
Bug in 0dcd549bbe.

Thanks Eric Zarowny for the report.

Backport of 2396933ca9 from main
2023-03-08 11:33:03 +01:00
Carlton Gibson
d89d517f90 [4.2.x] Refs #31626 -- Noted that Daphne provides a runserver command.
Backport of 279e611c01 from main
2023-03-07 19:48:49 +01:00
Adam Johnson
afb200e3ab [4.2.x] Doc'd that django.setup() is called under ASGI.
Backport of ef00d6ef88 from main
2023-03-01 14:59:24 +01:00
Heath Henley
125abb7cab [4.2.x] Fixed #34367 -- Updated instructions for installing GeoDjango on Windows.
Thanks David Smith for the review.

Backport of 54aecf95a2 from main
2023-03-01 14:30:30 +01:00
django-bot
62510f01e7 [4.2.x] Fixed #34140 -- Reformatted code blocks in docs with blacken-docs. 2023-03-01 13:39:03 +01:00
Joseph Victor Zammit
5bdd6223a2 [4.2.x] Refs #34140 -- Corrected rst code-block and various formatting issues in docs.
Backport of ba755ca131 from main
2023-02-28 12:54:33 +01:00
Adam Johnson
5a82acbda8 [4.2.x] Doc'd that Meta.indexes is preferred to Field.db_index.
Backport of f9fe062de5 from main
2023-02-24 09:48:54 +01:00
Mariusz Felisiak
e1c74bf458 [4.2.x] Refs #21080, Refs #34322 -- Added warning to ManifestStaticFilesStorage docs about paths in comments.
Backport of bae053d497 from main.
2023-02-16 19:20:41 +01:00
Markus Holtermann
7ac5ff37b8 [4.2.x] Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files.
Thanks to Jakob Ackermann for the report.
2023-02-14 08:21:18 +01:00
Carlton Gibson
b784768eef [4.2.x] Refs #34140 -- Applied rst code-block to non-Python examples.
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for
reviews.

Backport of 534ac48297 from main.
2023-02-10 21:12:06 +01:00
dennisvang
4a89aa25c9 [4.2.x] Fixed #34325 -- Corrected wording in PercentRank() docs.
This is consistent with the terminology used for the percent_rank()
function in SQLite docs and PostgreSQL docs.

Backport of 7bb741d787 from main
2023-02-10 19:07:24 +01:00
Carlton Gibson
efe16fd72a [4.2.x] Added missing vars to AdminSite.each_context() docs.
Backport of 1964e4367f from main
2023-02-08 18:00:37 +01:00
noFFENSE
fa52bb7774 [4.2.x] Fixed #34242 -- Doc'd that primary key is set to None when deleting objects.
Backport of 5cd1385356 from main
2023-01-20 10:57:30 +01:00
Mariusz Felisiak
0e2649fdf4 Fixed #34255 -- Made PostgreSQL backend use client-side parameters binding with psycopg version 3.
Thanks Guillaume Andreu Sabater for the report.

Co-authored-by: Florian Apolloner <apollo13@users.noreply.github.com>
2023-01-17 08:24:08 +01:00
Mariusz Felisiak
c8a76059ff Refs #34255 -- Bumped required psycopg version to 3.1.8. 2023-01-17 08:24:08 +01:00
sarahboyce
0fbdb9784d Fixed #23718 -- Doc'd that test mirrors require TransactionTestCase.
Co-authored-by: Christian Bundy <me@christianbundy.com>
2023-01-16 09:31:34 +01:00
Steven
4b7016866a Fixed "nulls characters" typo in docs. 2023-01-16 07:54:00 +01:00
Leo
5da5f3773e Fixed #34234 -- Dropped support for PROJ 4. 2023-01-13 12:31:41 +01:00
Jarosław Wygoda
32940d390a Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings. 2023-01-12 09:58:36 +01:00
Jarosław Wygoda
1ec3f0961f Fixed #26029 -- Allowed configuring custom file storage backends. 2023-01-12 06:20:57 +01:00
Mariusz Felisiak
d4b4c1cae4
Corrected used JS libraries in GIS widget docs.
Follow up to 1833eb3f3e.
2023-01-10 14:25:44 +01:00
Mariusz Felisiak
552384fa97
Refs #31014 -- Added FromWKB and FromWKT GIS database functions.
Co-authored-by: Ondřej Böhm <ondrej.bohm@firma.seznam.cz>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
2023-01-10 11:51:09 +01:00
Francesco Panico
72efd840a8 Fixed #34110 -- Added in-memory file storage.
Thanks Paolo Melchiorre, Carlton Gibson, and Mariusz Felisiak for
reviews.
2023-01-10 10:56:59 +01:00
Mariusz Felisiak
7d9329935a
Refs #32355 -- Bumped mysqlclient requirement to >= 1.4.3.
mysqlclient 1.4.3 is the first release to support Python 3.8.
2023-01-05 16:34:14 +01:00