1
0
mirror of https://github.com/django/django.git synced 2025-03-10 09:22:46 +00:00

5108 Commits

Author SHA1 Message Date
lufafajoshua
e8fe48d3a0 [4.2.x] Fixed #34808 -- Doc'd aggregate function's default argument.
Backport of 8adc7c86ab85ed91e512bc49056e301cbe1715d0 from main
2023-10-11 16:11:09 -03:00
ume
99dcba90b4 [4.2.x] Refs #32275 -- Added scrypt password hasher to PASSWORD_HASHERS setting docs.
Backport of 90c75dc4f37bee19b7c3790519d187e38e293800 from main
2023-10-06 09:56:11 +02:00
David Sanders
6697880219 [4.2.x] Refs #31435 -- Doc'd potential infinite recursion when accessing model fields in __init__.
Backport of e47298aec4fa04416e7082331fbd44bd9f2662aa from main
2023-10-05 14:34:07 -03:00
Mariusz Felisiak
a9a3317a95 [4.2.x] Corrected wrap_socket() reference in docs/ref/settings.txt.
Backport of f9cdecfb0de40698eb2ce44c04068bb091fa8998 from main
2023-10-04 19:54:32 +02:00
Natalia
be9c27c4d1 [4.2.x] Fixed CVE-2023-43665 -- Mitigated potential DoS in django.utils.text.Truncator when truncating HTML text.
Thanks Wenchao Li of Alibaba Group for the report.
2023-10-04 09:39:49 -03:00
Mariusz Felisiak
dd0bf63d3e [4.2.x] Added warning about flatpages and untrusted users.
Backport of 571bab98879578b6ef54ee654ead06736855767d from main
2023-09-27 19:10:59 +02:00
David Sanders
b08f53ff46 [4.2.x] Refs #34808 -- Doc'd that aggregation functions on empty groups can return None.
Backport of 78b5c9075348aa12da2e024f6ece29d1d652dfdd from main
2023-09-21 13:18:15 -03:00
Mariusz Felisiak
ff26e6ad84 [4.2.x] Corrected QuerySet.prefetch_related() note about GenericRelation().
GenericRelation is a reverse generic relationship so it's always
homogeneous. Mentioning this as a restriction is confusing.
Backport of 88b5b7b8e56667b0f55ea6f04038b6ac77c57b98 from main
2023-09-16 06:58:08 +02:00
Michele Mazzucchi
866122690d [4.2.x] Doc'd HttpResponse.cookies.
Backport of 5bfb3cbf49e2b9701e7c42989e14a72374adb6bd from main
2023-09-14 12:29:49 +02:00
Keryn Knight
f55b420277 [4.2.x] Fixed #34781 -- Updated logging ref docs for django.server's request extra context value.
Backport of 428023e2677aeb80d86b19f90b0c6b82c7cb666d from main
2023-08-22 22:44:46 -03:00
Almaz Kunpeissov
2ef2b2ffc0 [4.2.x] Corrected pycon formatting in some docs.
Backport of 5a3725594faacc412e2d2b4ed160370228f1a118 from main
2023-08-01 08:47:40 +02:00
John Parton
a52a2b6678 [4.2.x] Fixed #34749 -- Corrected QuerySet.acreate() signature in docs.
Backport of af0c5caff72e5ffda4dff708a57e37ae4778197d from main
2023-07-28 18:06:04 +02:00
Bruno Alla
12ebd9a1ac [4.2.x] Refs #34712 -- Doc'd that defining STORAGES overrides the default configuration.
Backport of 86561844ce66cda3e6a8c22d4ace4c2d1bc1f2e7 from main
2023-07-24 21:07:41 +02:00
Mariusz Felisiak
1f9d00ef9f [4.2.x] Added missing backticks in docs.
Backport of 02376f1f53db24039c200ef4818d96accf16a88b from main
2023-07-21 12:55:10 +02:00
nessita
c99d935600 [4.2.x] Fixed typo in docs/ref/models/querysets.txt.
Removed assignment in example for Blog annotation to match shown result.
Backport of addbc90049083f1d5f7ac138ed00111b71a75233 from main
2023-07-20 19:49:01 +02:00
Vyacheslav Dmitriev
da92a971a0 [4.2.x] Refs #30052 -- Clarified that defer() and only() do not work with aggregated fields.
Backport of b126f694160c4641e64e57dba6b022f06fbfa745 from main
2023-07-20 14:07:16 -03:00
David Sanders
c646412a75 Added reference to TypedChoiceField in ChoiceField docs. 2023-07-18 12:06:59 -03:00
Jon Ribbens
e54f711d42 [4.2.x] Fixed #33405, Refs #7177 -- Clarified docs for filter escapejs regarding safe and unsafe usages.
Backport of adfb3dfa89b62ee0c838a64d3d480c03dd3ec869 from main
2023-07-03 13:55:31 +02:00
Mariusz Felisiak
b7c5feb35a [4.2.x] Fixed CVE-2023-36053 -- Prevented potential ReDoS in EmailValidator and URLValidator.
Thanks Seokchan Yoon for reports.
2023-07-03 08:19:23 +02:00
nessita
7b45fe01ab [4.2.x] Added dedicated section for output_field in query expressions docs.
Backport of 679928834295ebd874ede667dbaae8a7945d3580 from main
2023-06-27 15:14:13 -03:00
Mariusz Felisiak
67fe092a85 [4.2.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of c4a09499aa760c92969083b4639703b5b0a562fb from main
2023-06-27 12:54:46 +02:00
Mariusz Felisiak
a18e0f44d5 [4.2.x] Corrected admin.E013 check message in docs.
Backport of ddb6506618ea52c6b20e97eefad03ed847a1e3de from main
2023-06-20 12:59:48 +02:00
AP Jama
dae052d823 [4.2.x] Fixed #34595 -- Doc'd that format_string arg of format_html() is not escaped.
Backport of 4037223d0f12c44ecd6f369ccbabcbd279a1bdbc 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 b0a6cc7f5738d6b959faf10354b772338f611fd9 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 1a59a324cec5caf12ea0c4947564828aa7bda02a from main.
2023-05-26 07:50:19 +02:00
Stefan Brand
a44e974412 [4.2.x] Corrected documentation of Log database function.
Backport of eb9df03a43f34c44131ec3a295643327b8a68bb4 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 c52f4295f254e1c14af769d22b1a5f516a941f58 from main
2023-05-17 13:15:30 +02:00
Mariusz Felisiak
2b5c5e54de [4.2.x] Updated broken links in docs.
Backport of 93830abf7694e0f281931f10eeaa34993855e7dd 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 599f3e2cda50ab084915ffd08edb5ad6cad61415 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 e901407e2369ddb16a5c866e1f2fbf8ea8acf549 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 12ec80726f33e8dbd80de3cecf48d76ac4c0aa89 from main
2023-05-07 14:52:16 +02:00
Jannis Vajen
4eaed191b6 [4.2.x] Corrected code-block directives in docs.
Backport of 024954aad4c422a091b7afab42fff1a9d7478fce 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 5c456a879300e5f51010d3f6aa7449302413efed 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 23d24f82a7450ef5d369845e18cc0130be5bac6c from main
2023-04-27 11:54:26 +02:00
Mariusz Felisiak
a4f7d935a2 [4.2.x] Added meaningful titles to ..admonition:: directives.
Backport of c487634c106888effbba680e02269e489ab911a6 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 0494efddc422716431b92896899284b6afebb23a 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 01ae9d4ca9afdaf30a247e10e8333261a7d8224c 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 57f2b935b34d148c3c0d906fc8256765004b7b77 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 2c4dc6476083c853b654e462c7ff65dbe0334c9e 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 255f5345904854128647705adcb8d21138e87c63 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 bdf59bff657975e577b86b194b39ec2f77983d2b 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 cbcc1240e912cfc47cb6ea0c4fe6b4a48f36f7e2 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 659f6b5bc5d68661a071f0cd13b8dab678067023 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 e10c1688f96e3b2d202fe401472b7b25f6105969 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 fc266b694b9129e44b597d8a56927ee13fdac358 from main
2023-03-16 08:31:23 +01:00
Adam Johnson
a0f46ea7e8 [4.2.x] Corrected example in CreateCollation() docs.
Backport of 4db33e96d1b5b4ba1a739e15b28835495f78eee4 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 cc67344db9de0248ba1064f7e986c6b29276a7b1 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 18473004afd82a616ba6c9ac22f476347fde4846 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 0dcd549bbe36c060f536ec270d34d9e7d4b8e6c7.

Thanks Eric Zarowny for the report.

Backport of 2396933ca99c6bfb53bda9e53968760316646e01 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 279e611c017b5fcc055263e760de1495a9098ede from main
2023-03-07 19:48:49 +01:00