い。
718ed69751
Fixed #35430 -- Corrected docs on timezone conversion in templates.
2024-05-23 12:35:20 +02:00
Natalia
05cce083ad
Removed versionadded/changed annotations for 5.0.
...
This also removes remaining versionadded/changed annotations for older
versions.
2024-05-22 15:44:07 -03:00
Hisham Mahmood
c7fc9f20b4
Fixed #31405 -- Added LoginRequiredMiddleware.
...
Co-authored-by: Adam Johnson <me@adamj.eu>
Co-authored-by: Mehmet İnce <mehmet@mehmetince.net>
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-05-22 08:51:17 +02:00
r3a96
0e445badd5
Removed Redis parser_class reference from docs.
2024-05-08 08:41:13 +02:00
Cole D
e1431dd92e
Made confirmation prompt in squashmigrations consistent with other prompts.
...
Prior to this change, squashmigrations would use a [yN] prompt to ask
for user confirmation. A slash was added between the yes/no options
to make it consistent with other commands that print similar prompts.
2024-04-26 09:50:47 -03:00
minusf
bcad5ad92b
Fixed incorrect blockquotes in docs/topics/forms/index.txt.
2024-04-22 22:26:55 -03:00
Adam Johnson
ba4ffdc877
Refs #31710 -- Improved multiple file upload docs.
2024-04-04 19:18:36 -03:00
Matthias Kestenholz
5f3cdf219d
Fixed typo in docs/topics/signals.txt.
2024-03-28 13:45:04 -03:00
Giannis Terzopoulos
d658a3162f
Fixed #35233 -- Moved template engine system checks to backend methods.
...
Thanks Adam Johnson for reviews.
2024-03-27 08:14:54 +01:00
Jon Janzen
f5c340684b
Fixed #34901 -- Added async-compatible interface to session engines.
...
Thanks Andrew-Chen-Wang for the initial implementation which was posted
to the Django forum thread about asyncifying contrib modules.
2024-03-13 17:55:15 +01:00
Mitchina
2d3531af23
Corrected code-block directives in topics/forms/formsets.txt.
2024-03-08 08:07:39 +01:00
Dingning
549320946d
Fixed #35030 -- Made django.contrib.auth decorators to work with async functions.
2024-03-07 09:59:33 +01:00
Mariusz Felisiak
177e649396
Fixed broken links and redirects in docs.
2024-03-06 08:50:21 +01:00
Josh Smeaton
6e195b800a
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.
2024-03-05 11:22:54 +01:00
Leandro de Souza
368a8a3a83
Fixed #35261 -- Corrected Media JS example of object-based paths in docs.
...
`rel` attribute is not valid on `<link>` tags.
2024-03-04 18:59:49 +01:00
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