Matthias Kestenholz
3264e88347
[5.0.x] Fixed typo in docs/topics/signals.txt.
...
Backport of 5f3cdf219d
from main
2024-03-28 13:45:55 -03:00
Mitchina
3960bec41b
[5.0.x] Corrected code-block directives in topics/forms/formsets.txt.
...
Backport of 2d3531af23
from main
2024-03-08 08:09:05 +01:00
Mariusz Felisiak
85e2b08068
[5.0.x] Fixed broken links and redirects in docs.
...
Backport of 177e649396
from main
2024-03-06 08:51:35 +01:00
Josh Smeaton
e45ee72d69
[5.0.x] Fixed #35267 -- Clarified time zone topic for PostgreSQL in docs.
...
The timezone documentation for Postgres mentions the behavior of
time zone conversion, but links to the wrong setting that controls the
behavior.
Postgres will not return datetimes in the time zone set by the
TIME_ZONE setting, but rather the time zone of the database connection,
which is defined by DATABASES.TIME_ZONE setting falling back to UTC.
This corrects the link in the documentation and adds note that there
are two distinct TIME_ZONE settings and the one most are familiar with
is not considered for PostgreSQL time zone conversion.
Backport of 6e195b800a
from main
2024-03-05 12:55:17 +01:00
Leandro de Souza
17855bf578
[5.0.x] Fixed #35261 -- Corrected Media JS example of object-based paths in docs.
...
`rel` attribute is not valid on `<link>` tags.
Backport of 368a8a3a83
from main
2024-03-04 19:00:28 +01:00
Ebram Shehata
58d5e5779c
[5.0.x] Fixed typo in docs/topics/db/managers.txt.
...
Backport of 2152246c0a
from main
2024-02-01 09:26:24 +01:00
Ben Cail
d28c61b777
[5.0.x] Fixed #35156 -- Removed outdated note about not supporting foreign keys by SQLite.
...
Backport of b3dc80682e
from main
2024-01-31 18:35:30 +01:00
Alexander Lazarević
28d6db26a2
[5.0.x] Fixed #35141 -- Clarified the expected type of CACHE_MIDDLEWARE_SECONDS setting.
...
Backport of a5365339ea
from main
2024-01-29 19:24:10 +01:00
Mariusz Felisiak
0379e7532f
[5.0.x] Applied Black's 2024 stable style.
...
https://github.com/psf/black/releases/tag/24.1.0
Backport of 305757aec1
from main
2024-01-26 12:55:56 +01:00
Adrienne Franke
d490d009a3
[5.0.x] Fixed typo in docs/topics/auth/default.txt.
...
Backport of 8570e091d0
from main
2024-01-22 17:43:46 +01:00
Emmanuel Katchy
c4a6a8d815
[5.0.x] Updated "Dive Into Python" links.
...
Backport of 12ffcfc350
from main
2024-01-20 22:22:49 +01:00
evananyonga
d56b2105b6
[5.0.x] Made management command examples more consistent in docs.
...
Backport of ec7651586d
from main
2024-01-09 20:56:46 +01:00
Zowie Beha
031bc47101
[5.0.x] Fixed #35072 -- Corrected Field.choices description in models topic.
...
Backport of 8fcd7b01ee
from main
2024-01-02 05:24:24 +01:00
Nicolas Lupien
bc60b1e292
[5.0.x] Fixed #35015 -- Updated MySQL notes in migrations topic.
...
Backport of d4c583682e
from main
2023-12-20 21:02:51 +01:00
Mariusz Felisiak
8fb92dc96a
[5.0.x] Removed obsolete warnings about asgiref.sync adapters with sensitive variables.
...
Django 5.0+ required asgiref 3.7+, and this warning is obsolete for
asgiref 3.7+ since
be6635e0e7
.
Backport of 594873befb
from main
2023-11-17 12:09:58 +01:00
David Smith
7f0275d8cb
[5.0.x] Refs #32819 -- Used auto_id instead of id_for_label as unique identifier for the field.
...
`id_for_label` is blank for widgets with multiple inputs such as radios
and multiple checkboxes. Therefore , `help_text` for fields using these
widgets cannot currently be associated using `aria-describedby`.
`id_for_label` is being used as a guard to avoid incorrectly adding
`aria-describedby` to those widgets.
This change uses `auto_id` as the unique identified for the fields
`help_text`. A guard is added to avoid incorrectly adding
`aria-describedby` to inputs by checking the widget's `use_fieldset`
attribute. Fields rendered in a `<fieldset>` should have
`aria-describedby` added to the `<fieldset>` and not every `<input>`.
Backport of 292f1ea90f
from main
2023-11-16 13:27:18 +01:00
Markus Amalthea Magnuson
8c88ae8251
[5.0.x] Fixed #34970 -- Clarified Password Validation docs regarding the password_changed callback.
...
Backport of 61c305f298
from main
2023-11-15 21:52:11 -03:00
Natalia
acd4595ab0
[5.0.x] Refs #30601 -- Fixed typos in docs/topics/db/transactions.txt.
...
Backport of 9b18af4f6f
from main
2023-10-30 13:49:12 -03:00
Natalia
c8bc72462d
[5.0.x] Refs #15578 -- Made cosmetic edits to fixtures docs.
...
Backport of b412e5645a
from main
2023-10-30 10:33:08 -03:00
Mariusz Felisiak
329ae408bf
[5.0.x] Fixed typo in docs/topics/forms/index.txt.
...
Backport of 46df3ab244
from main
2023-10-30 05:17:55 +01:00
lufafajoshua
c8ac50c201
[5.0.x] Fixed #30601 -- Doc'd the need to manually revert all app state on transaction rollbacks.
...
Backport of aa80b357fb
from main
2023-10-27 23:33:16 -03:00
Marc Gibbons
4e1bb31b39
[5.0.x] Doc'd writing integration tests for the system check framework.
...
Backport of 8d9c0e4e24
from main
2023-10-27 11:44:40 +02:00
Leo Suarez
89e539488a
[5.0.x] Fixed #15578 -- Stated the processing order of fixtures in the fixtures docs.
...
Also, added details about loading multiple fixtures and unified line wrapping
at 79 cols.
Co-Authored-By: Aniketh Babu <anikethbabu@gmail.com>
Co-Authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-Authored-By: Natalia Bidart <124304+nessita@users.noreply.github.com>
Backport of 334dc073b1
from main
2023-10-26 21:51:40 -03:00
Mariusz Felisiak
415ef34c4c
[5.0.x] Added missing pycon directives in various docs.
...
Backport of 718b32c691
from main
2023-10-25 12:27:56 +02:00
lufafajoshua
d4bbdf5337
[5.0.x] Fixed #34808 -- Doc'd aggregate function's default argument.
...
Backport of 8adc7c86ab
from main
2023-10-11 16:10:30 -03:00
faishalmanzar
25a614639f
[5.0.x] Fixed #32602 -- Clarified wording of TestCase class.
...
Backport of f4e72e6523
from main
2023-10-02 11:49:00 +02:00
Mariusz Felisiak
e2a3a896cf
Refs #15619 -- Removed deprecated annotation about logging out via GET requests.
...
Follow up to 6c57c08ae5
.
2023-09-14 19:49:06 +02:00
Nick Pope
f92e68c30a
Fixed #34822 -- Added support for serializing functions decorated with functools.lru_cache in migrations.
...
`@functools.cache` and `@functools.lru_cache` return an object of type
`functools._lru_cache_wrapper` which prevented the migrations serializer from
working. Simply using the existing `FunctionTypeSerializer` for this additional
type works as expected.
2023-09-13 15:57:18 -03:00
Nick Pope
c131949e3e
Refs #34822 -- Added tests for serializing decorated functions in migrations.
...
Functions decorated with a decorator that is properly wrapped, e.g. by
using `@functools.wraps`, are already supported.
2023-09-13 15:39:56 -03:00
Ben Lomax
74f7deec9e
Refs #31949 -- Made make_middleware_decorator to work with async functions.
2023-09-13 11:41:01 +02:00
Sam Toyer
64cea1e48f
Fixed #34752 -- Fixed handling ASGI http.disconnect for streaming responses.
2023-09-11 19:53:21 +02:00
David Smith
74b5074174
Fixed #34210 -- Added unittest's durations option to the test runner.
2023-08-31 07:14:58 +02:00
Nick Pope
500e01073a
Fixed #31262 -- Added support for mappings on model fields and ChoiceField's choices.
2023-08-30 22:57:40 -03:00
Olivier Tabone
3f8dbe267d
Fixed #34757 -- Added support for following redirects to AsyncClient.
2023-08-30 06:12:25 +02:00
Mariusz Felisiak
9942a3e49b
Avoided counting exceptions in AsyncClient docs.
...
Follow up to ad6bb20557
.
2023-08-24 05:19:52 +02:00
Luca Allulli
c59be9f1da
Improved formset docs by using a set instead of a list in the custom validation example.
2023-08-23 22:24:43 -03:00
Jingbei Li
9946f0b0d9
Fixed #33817 -- Added support for python-oracledb and deprecated cx_Oracle.
2023-08-10 10:11:53 +02:00
Olivier Tabone
b9473cac65
Fixed #34714 -- Added aget_object_or_404()/aget_list_or_404() shortcuts.
2023-07-24 07:37:54 +02:00
Carlton Gibson
07b7a3ab75
Fixed formatting typo in docs/topics/forms/index.txt.
2023-07-22 19:48:55 +02:00
Mariusz Felisiak
02376f1f53
Added missing backticks in docs.
2023-07-21 12:54:38 +02:00
Ben Lomax
b7a17b0ea0
Refs #31949 -- Made @vary_on_(cookie/headers) decorators work with async functions.
2023-07-10 11:43:36 +02:00
Mariusz Felisiak
99bd373367
Refs #31949 -- Mentioned @sensitive_variables/sensitive_post_parameters decorators in async topic.
...
Follow up to 38e391e95f
.
2023-07-10 09:29:42 +02:00
Ben Lomax
953f81e078
Refs #31949 -- Made @csrf_exempt decorator to work with async functions.
2023-07-10 07:55:02 +02:00
Gregor Jerše
966ecdd482
Fixed #32819 -- Established relationship between form fields and their help text.
...
Thanks Nimra for the initial patch.
Thanks Natalia Bidart, Thibaud Colas, David Smith, and Mariusz Felisiak
for reviews.
2023-07-06 08:03:19 +02:00
Jon Janzen
5e98959d92
Fixed #34391 -- Added async-compatible interface to auth functions and related methods test clients.
2023-06-27 11:17:17 +02:00
Mariusz Felisiak
370a021780
Refs #34233 -- Bumped minimum supported version of Selenium to 4.8.0.
...
This bumps minimum supported versions of selenium to the first release
to support Python 3.10.
2023-06-26 14:22:54 +02:00
th3nn3ss
3152f9de47
Refs #31949 -- Made http decorators to work with async functions.
2023-06-26 09:29:04 +02:00
Ashwin Dharne
5762b839ff
Fixed typo in docs/topics/db/fixtures.txt.
2023-06-16 19:34:06 +02:00
Mariusz Felisiak
06881341d4
Refs #30220 -- Bumped required version of Selenium to 3.8.0.
...
Follow up to 8d010f3986
.
2023-06-13 10:12:52 +02:00
Akash Kumar Sen
5f2308710b
Fixed #30355 -- Doc'd interaction between custom managers and prefetch_related().
2023-06-07 11:48:01 +02:00