| Age | Commit message (Collapse) | Author |
|
Backport of c0128e3a81cfb07238324b185958a88631e94963 from main.
|
|
docs/topics/email.txt.
Co-authored-by: Mike Edmunds <medmunds@gmail.com>
Backport of f4813211e2d8017b56b7447f56ad17df3fae9aa3 from main.
|
|
save() method docs.
Regression in 3915d4c70d0d7673abe675525b58117a5099afd3.
Backport of 38c206515494cb28c48f77c10145a8aa9a172629 from main.
|
|
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.
|
|
Backport of 7adb6dd98d50a238f3eca8c15b16b5aec12575fd from main.
|
|
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.
|
|
co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
Backport of 49815f70e4508ae21135f725da177fc2935de32c from main.
|
|
Backport of 304d25667433a59409e334a93acaaa9201840508 from main.
|
|
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Backport of 82c71f0168b1c132e499505609d285c6016ed4f2 from main.
|
|
Modified example to use python standard library function
to lower the case of the string.
Backport of 136a5f94099e428dd57572ebd16905fb25ef227e from main.
|
|
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.
|
|
templates when localization is disabled.
Backport of 3ac0e43207b4a1b9327ba12612005c285fbff7ee from main.
|
|
Backport of 1b21feeb7b490b3c75a06736362b05251ec172a9 from main.
|
|
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>
|
|
|
|
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.
|
|
|
|
|
|
|
|
Thanks Adam Johnson for reviews.
|
|
Thanks Andrew-Chen-Wang for the initial implementation which was posted
to the Django forum thread about asyncifying contrib modules.
|
|
|
|
functions.
|
|
|
|
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.
|
|
`rel` attribute is not valid on `<link>` tags.
|
|
|
|
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
|
|
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
|
|
|
|
SQLite.
|
|
|
|
https://github.com/psf/black/releases/tag/24.1.0
|
|
|
|
|
|
each operation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
classes.
|
|
Django 5.0+ required asgiref 3.7+, and this warning is obsolete for
asgiref 3.7+ since
https://github.com/django/asgiref/commit/be6635e0e79009e55cf7a999614186f061f9f09b.
|
|
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>`.
|
|
password_changed callback.
|
|
|
|
|
|
|