summaryrefslogtreecommitdiff
path: root/docs/topics
AgeCommit message (Collapse)Author
2024-09-16[5.1.x] Fixed #35767 -- Adjusted customizing User model docs.Carlton Gibson
Backport of c0128e3a81cfb07238324b185958a88631e94963 from main.
2024-09-11[5.1.x] Added example of email sending with additional capabilities to ↵Ronny V.
docs/topics/email.txt. Co-authored-by: Mike Edmunds <medmunds@gmail.com> Backport of f4813211e2d8017b56b7447f56ad17df3fae9aa3 from main.
2024-09-11[5.1.x] Refs #35060 -- Fixed the update to update_fields in overridden ↵Clifford Gama
save() method docs. Regression in 3915d4c70d0d7673abe675525b58117a5099afd3. Backport of 38c206515494cb28c48f77c10145a8aa9a172629 from main.
2024-09-03[5.1.x] Fixed CVE-2024-45231 -- Avoided server error on password reset when ↵Natalia
email sending fails. On successful submission of a password reset request, an email is sent to the accounts known to the system. If sending this email fails (due to email backend misconfiguration, service provider outage, network issues, etc.), an attacker might exploit this by detecting which password reset requests succeed and which ones generate a 500 error response. Thanks to Thibaut Spriet for the report, and to Mariusz Felisiak, Adam Johnson, and Sarah Boyce for the reviews.
2024-08-22[5.1.x] Sorted alphabetically forms list in docs/topics/auth/default.txt.nessita
Backport of 7adb6dd98d50a238f3eca8c15b16b5aec12575fd from main.
2024-08-19[5.1.x] Fixed #35678 -- Removed "usable_password" field from ↵Natalia
BaseUserCreationForm. Refs #34429: Following the implementation allowing the setting of unusable passwords via the admin site, the `BaseUserCreationForm` and `UserCreationForm` were extended to include a new field for choosing whether password-based authentication for the new user should be enabled or disabled at creation time. Given that these forms are designed to be extended when implementing custom user models, this branch ensures that this new field is moved to a new, admin-dedicated, user creation form `AdminUserCreationForm`. Regression in e626716c28b6286f8cf0f8174077f3d2244f3eb3. Thanks Simon Willison for the report, Fabian Braun and Sarah Boyce for the review. Backport of 0ebed5fa95f53b87383901bbd9341ef3c974344f from main.
2024-08-08[5.1.x] Refs #31405 -- Improved LoginRequiredMiddleware documentation.Adam Johnson
co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Backport of 49815f70e4508ae21135f725da177fc2935de32c from main.
2024-08-05[5.1.x] Used :pypi: role in docs where appropriate.Mariusz Felisiak
Backport of 304d25667433a59409e334a93acaaa9201840508 from main.
2024-07-04[5.1.x] Relocated database setup details to install docs to simplify tutorial 2.Kudz
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Backport of 82c71f0168b1c132e499505609d285c6016ed4f2 from main.
2024-06-25[5.1.x] Fixed #34886 -- Modified sample use of lazy in delayed translations.lufafajoshua
Modified example to use python standard library function to lower the case of the string. Backport of 136a5f94099e428dd57572ebd16905fb25ef227e from main.
2024-06-24[5.1.x] Migrated setuptools configuration to pyproject.toml.Claude Paroz
This branch migrates setuptools configuration from setup.py/setup.cfg to pyproject.toml. In order to ensure that the generated binary files have consistent casing (both the tarball and the wheel), setuptools version is limited to ">=61.0.0,<69.3.0". Configuration for flake8 was moved to a dedicated .flake8 file since it cannot be configured via pyproject.toml. Also, __pycache__ exclusion was removed from MANIFEST and the extras/Makefile was replaced with a simpler build command. Co-authored-by: Nick Pope <nick@nickpope.me.uk> Backport of 4686541691dbe986f58ac87630c3b7a04db4ff93 from main.
2024-06-24[5.1.x] Fixed #35306 -- Documented fallback localization formats in ↵lufafajoshua
templates when localization is disabled. Backport of 3ac0e43207b4a1b9327ba12612005c285fbff7ee from main.
2024-06-18[5.1.x] Restructured the EmailMultiAlternatives docs.Sarah Boyce
Backport of 1b21feeb7b490b3c75a06736362b05251ec172a9 from main.
2024-05-22Fixed #31405 -- Added LoginRequiredMiddleware.Hisham Mahmood
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-08Removed Redis parser_class reference from docs.r3a96
2024-04-26Made confirmation prompt in squashmigrations consistent with other prompts.Cole D
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-22Fixed incorrect blockquotes in docs/topics/forms/index.txt.minusf
2024-04-04Refs #31710 -- Improved multiple file upload docs.Adam Johnson
2024-03-28Fixed typo in docs/topics/signals.txt.Matthias Kestenholz
2024-03-27Fixed #35233 -- Moved template engine system checks to backend methods.Giannis Terzopoulos
Thanks Adam Johnson for reviews.
2024-03-13Fixed #34901 -- Added async-compatible interface to session engines.Jon Janzen
Thanks Andrew-Chen-Wang for the initial implementation which was posted to the Django forum thread about asyncifying contrib modules.
2024-03-08Corrected code-block directives in topics/forms/formsets.txt.Mitchina
2024-03-07Fixed #35030 -- Made django.contrib.auth decorators to work with async ↵Dingning
functions.
2024-03-06Fixed broken links and redirects in docs.Mariusz Felisiak
2024-03-05Fixed #35267 -- Clarified time zone topic for PostgreSQL in docs.Josh Smeaton
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-04Fixed #35261 -- Corrected Media JS example of object-based paths in docs.Leandro de Souza
`rel` attribute is not valid on `<link>` tags.
2024-02-23Fixed #35090 -- Deprecated registering URL converters with the same name.Salvo Polizzi
2024-02-21Fixed #34806 -- Made cached_db session backend resilient to cache write errors.Sulabh Katila
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-02-20Fixed #34429 -- Allowed setting unusable passwords for users in the auth forms.Fabian Braun
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-02-01Fixed typo in docs/topics/db/managers.txt.Ebram Shehata
2024-01-31Fixed #35156 -- Removed outdated note about not supporting foreign keys by ↵Ben Cail
SQLite.
2024-01-29Fixed #35141 -- Clarified the expected type of CACHE_MIDDLEWARE_SECONDS setting.Alexander Lazarević
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/24.1.0
2024-01-22Fixed typo in docs/topics/auth/default.txt.Adrienne Franke
2024-01-20Updated "Dive Into Python" links.Emmanuel Katchy
2024-01-17Fixed #31700 -- Made makemigrations command display meaningful symbols for ↵Amir Karimi
each operation.
2024-01-09Made management command examples more consistent in docs.evananyonga
2024-01-02Fixed #35060 -- Deprecated passing positional arguments to Model.save()/asave().Salvo Polizzi
2024-01-01Fixed #35072 -- Corrected Field.choices description in models topic.Zowie Beha
2023-12-22Fixed #34658 -- Added SimpleTestCase.assertNotInHTML().Nicolas Lupien
2023-12-20Fixed #35015 -- Updated MySQL notes in migrations topic.Nicolas Lupien
2023-12-15Fixed typos in docs.Mariusz Felisiak
2023-11-29Refs #25778 -- Updated some links and references to HTTPS.Adam Johnson
2023-11-23Fixed #14611 -- Added query_params argument to RequestFactory and Client ↵Tom Carrick
classes.
2023-11-17Removed obsolete warnings about asgiref.sync adapters with sensitive variables.Mariusz Felisiak
Django 5.0+ required asgiref 3.7+, and this warning is obsolete for asgiref 3.7+ since https://github.com/django/asgiref/commit/be6635e0e79009e55cf7a999614186f061f9f09b.
2023-11-16Refs #32819 -- Used auto_id instead of id_for_label as unique identifier for ↵David Smith
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-15Fixed #34970 -- Clarified Password Validation docs regarding the ↵Markus Amalthea Magnuson
password_changed callback.
2023-10-30Refs #30601 -- Fixed typos in docs/topics/db/transactions.txt.Natalia
2023-10-30Refs #15578 -- Made cosmetic edits to fixtures docs.Natalia
2023-10-30Fixed typo in docs/topics/forms/index.txt.Mariusz Felisiak