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

3215 Commits

Author SHA1 Message Date
Salvo Polizzi
6e1ece7ed5 Fixed #35090 -- Deprecated registering URL converters with the same name. 2024-02-23 15:54:49 +01:00
Sulabh Katila
eceb5e2eea
Fixed #34806 -- Made cached_db session backend resilient to cache write errors.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-02-21 21:51:58 -03:00
Fabian Braun
e626716c28 Fixed #34429 -- Allowed setting unusable passwords for users in the auth forms.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-02-20 12:13:32 -03:00
Ebram Shehata
2152246c0a
Fixed typo in docs/topics/db/managers.txt. 2024-02-01 09:25:09 +01:00
Ben Cail
b3dc80682e Fixed #35156 -- Removed outdated note about not supporting foreign keys by SQLite. 2024-01-31 17:48:42 +01:00
Alexander Lazarević
a5365339ea Fixed #35141 -- Clarified the expected type of CACHE_MIDDLEWARE_SECONDS setting. 2024-01-29 19:18:43 +01:00
Mariusz Felisiak
305757aec1
Applied Black's 2024 stable style.
https://github.com/psf/black/releases/tag/24.1.0
2024-01-26 12:45:07 +01:00
Adrienne Franke
8570e091d0
Fixed typo in docs/topics/auth/default.txt. 2024-01-22 17:43:13 +01:00
Emmanuel Katchy
12ffcfc350 Updated "Dive Into Python" links. 2024-01-20 19:43:55 +01:00
Amir Karimi
27a3eee721 Fixed #31700 -- Made makemigrations command display meaningful symbols for each operation. 2024-01-17 14:00:02 +01:00
evananyonga
ec7651586d Made management command examples more consistent in docs. 2024-01-09 20:12:14 +01:00
Salvo Polizzi
3915d4c70d Fixed #35060 -- Deprecated passing positional arguments to Model.save()/asave(). 2024-01-02 08:42:33 +01:00
Zowie Beha
8fcd7b01ee Fixed #35072 -- Corrected Field.choices description in models topic. 2024-01-01 18:53:01 +01:00
Nicolas Lupien
2bf46c3825 Fixed #34658 -- Added SimpleTestCase.assertNotInHTML(). 2023-12-22 08:27:59 +01:00
Nicolas Lupien
d4c583682e Fixed #35015 -- Updated MySQL notes in migrations topic. 2023-12-20 20:04:42 +01:00
Mariusz Felisiak
86c45d8bc6
Fixed typos in docs. 2023-12-15 07:54:02 +01:00
Adam Johnson
272ceb9584 Refs #25778 -- Updated some links and references to HTTPS. 2023-11-29 11:21:22 +01:00
Tom Carrick
a03593967f Fixed #14611 -- Added query_params argument to RequestFactory and Client classes. 2023-11-23 10:39:29 +01:00
Mariusz Felisiak
594873befb
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.
2023-11-17 12:09:32 +01:00
David Smith
292f1ea90f 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>`.
2023-11-16 12:23:42 +01:00
Markus Amalthea Magnuson
61c305f298 Fixed #34970 -- Clarified Password Validation docs regarding the password_changed callback. 2023-11-15 15:35:25 -03:00
Natalia
9b18af4f6f Refs #30601 -- Fixed typos in docs/topics/db/transactions.txt. 2023-10-30 10:35:44 -03:00
Natalia
b412e5645a Refs #15578 -- Made cosmetic edits to fixtures docs. 2023-10-30 10:29:37 -03:00
Mariusz Felisiak
46df3ab244
Fixed typo in docs/topics/forms/index.txt. 2023-10-30 05:16:40 +01:00
lufafajoshua
aa80b357fb Fixed #30601 -- Doc'd the need to manually revert all app state on transaction rollbacks. 2023-10-27 17:35:47 -03:00
Marc Gibbons
8d9c0e4e24 Doc'd writing integration tests for the system check framework. 2023-10-27 09:44:14 +02:00
Leo Suarez
334dc073b1 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>
2023-10-26 17:40:26 -03:00
Mariusz Felisiak
718b32c691
Added missing pycon directives in various docs. 2023-10-25 12:27:27 +02:00
lufafajoshua
8adc7c86ab Fixed #34808 -- Doc'd aggregate function's default argument. 2023-10-11 15:17:36 -03:00
Chinmoy Chakraborty
1dae65dc63 Fixed #34657 -- Made assert(Not)Contains/assertInHTML display haystacks in error messages. 2023-10-03 10:44:36 +02:00
faishalmanzar
f4e72e6523 Fixed #32602 -- Clarified wording of TestCase class. 2023-10-02 09:12:08 +02:00
Mariusz Felisiak
6ad0dbc8d9
Refs #15667 -- Added resetting default renderer when FORM_RENDERER is changed. 2023-09-29 08:54:13 +02:00
Mariusz Felisiak
f72f420f17 Refs #26029 -- Removed DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings.
This also removes django.core.files.storage.get_storage_class().

Per deprecation timeline.
2023-09-18 22:12:40 +02:00
Mariusz Felisiak
3a3e737694 Refs #33199 -- Removed support for passing positional arguments to Signer/TimestampSigner.
Per deprecation timeline.
2023-09-18 22:12:40 +02:00
Mariusz Felisiak
5e4c1793b7 Refs #33308 -- Removed support for passing encoded JSON string literals to JSONField & co.
Per deprecation timeline.
2023-09-18 22:12:40 +02:00
Mariusz Felisiak
69af3bea99 Refs #33990 -- Removed TransactionTestCase.assertQuerysetEqual() per deprecation timeline. 2023-09-18 22:12:40 +02:00
Mariusz Felisiak
c35fd9e275 Refs #33990 -- Removed SimpleTestCase.assertFormsetError() per deprecation timeline. 2023-09-18 22:12:40 +02:00
Mariusz Felisiak
00e1879610 Refs #33764 -- Removed BaseUserManager.make_random_password() per deprecation timeline. 2023-09-18 22:12:40 +02:00
Mariusz Felisiak
295467c04a Removed versionadded/changed annotations for 4.2.
This also removes remaining versionadded/changed annotations for older
versions.
2023-09-18 22:12:40 +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