amansharma612
6f38697f90
Removed links to outdated tools in docs/topics/performance.txt.
...
Co-authored-by: Aman Sharma <210100011@iitb.ac.in>
2024-12-11 16:47:18 -03:00
Anders Hovmöller
871e1ee5ff
Removed question marks from headings in docs/topics/db/fixtures.txt.
2024-12-02 21:54:48 -03:00
antoliny0919
32b9e00b0c
Fixed #35964 -- Cleaned up can_order and can_delete formset examples.
2024-12-02 12:56:46 +01:00
Bendeguz Csirmaz
978aae4334
Fixed #373 -- Added CompositePrimaryKey.
...
Thanks Lily Foote and Simon Charette for reviews and mentoring
this Google Summer of Code 2024 project.
Co-authored-by: Simon Charette <charette.s@gmail.com>
Co-authored-by: Lily Foote <code@lilyf.org>
2024-11-29 11:23:04 +01:00
Adam Zapletal
2e190a48d6
Added missing backticks to class-based views docs.
2024-11-26 17:10:39 -03:00
antoliny0919
c56e1273a9
Refs #32339 -- Updated formset docs to reflect default rendering as as_div.
2024-11-18 16:59:33 +01:00
Caitlin Hogan
ca113adbae
Fixed typo in docs/topics/performance.txt.
2024-11-18 15:12:42 +01:00
Lorenzo Peña
91c879eda5
Fixed #35784 -- Added support for preserving the HTTP request method in HttpResponseRedirectBase.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-11-14 15:53:49 -03:00
Alexander Lazarević
8590d05d44
Fixed #35887 -- Added imports and admin.site.register to non-partial admin inline doc examples.
2024-11-14 12:09:50 +01:00
Maria Hynes
7e759d9af7
Fixed #17430 -- Documented access to the Django admin when using a custom auth backend.
2024-11-14 10:29:32 +01:00
Clifford Gama
299b072498
Fixed #35843 -- Clarified formset docs about reordering forms.
2024-11-13 15:14:16 -03:00
Johanan-Ayadata
97a6a678c4
Added missing lang attributes to html elements in docs.
2024-10-30 14:02:30 +01:00
Mike Edmunds
17c8ee7e3f
Fixed #35864 -- Documented EmailMessage.connection is ignored when using send_messages().
2024-10-30 11:20:52 +01:00
Yash
35ab2e0182
Fixed #35731 -- Extended db_default docs.
...
This added a missing db_default reference in docs/topics/db/models.txt,
and added a reference to the DatabaseDefault object.
2024-10-23 11:48:30 +02:00
Ben Cail
ec7d69035a
Fixed #35782 -- Allowed overriding password validation error messages.
2024-10-15 17:23:39 +02:00
Ben Cail
80c3697e96
Refs #35782 -- Documented the get_help_text methods in password validators.
2024-10-15 12:48:45 +02:00
Natalia
fc1119e8be
Refs #35502 -- Clarified models.py file path in docs/topics/db/queries.txt.
2024-10-09 09:12:58 -03:00
Jon Janzen
50f89ae850
Fixed #35303 -- Implemented async auth backends and utils.
2024-10-07 14:19:41 +02:00
Mariusz Felisiak
5f0ed95e10
Updated sign() outputs in Cryptographic signing docs.
...
Signer/TimestampSigner use SHA-256 by default.
Follow up to 71c4fb7beb
.
2024-09-25 19:52:18 +02:00
Amir Karimi
ee5147cfd7
Fixed #29522 -- Refactored the Deserializer functions to classes.
...
Co-authored-by: Emad Mokhtar <emad.mokhtar@veneficus.nl>
2024-09-17 11:00:49 +02:00
Jacob Walls
a060a22ee2
Fixed #35660 -- Made serialized_rollback and fixture data available in TransactionTestCase.setUpClass().
2024-09-17 09:53:46 +02:00
Carlton Gibson
c0128e3a81
Fixed #35767 -- Adjusted customizing User model docs.
2024-09-16 17:40:11 -03:00
Ronny V.
f4813211e2
Added example of email sending with additional capabilities to docs/topics/email.txt.
...
Co-authored-by: Mike Edmunds <medmunds@gmail.com>
2024-09-11 13:04:43 -03:00
Clifford Gama
38c2065154
Refs #35060 -- Fixed the update to update_fields in overridden save() method docs.
...
Regression in 3915d4c70d
.
2024-09-11 13:23:36 +02:00
Jake Howard
e161bd4657
Fixed #35631 -- Added HttpRequest.get_preferred_type().
2024-09-09 12:02:18 +02:00
Natalia
8c35a0a903
Fixed CVE-2024-45231 -- Avoided server error on password reset when 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-09-03 09:22:32 -03:00
Claude Paroz
2c1f27d0d0
Dropped safeguards against very old versions of gettext.
...
gettext 0.19 was released in 2014.
2024-08-30 13:39:04 +02:00
nessita
7adb6dd98d
Sorted alphabetically forms list in docs/topics/auth/default.txt.
2024-08-22 09:14:11 -03:00
Natalia
0ebed5fa95
Fixed #35678 -- Removed "usable_password" field from 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 e626716c28
.
Thanks Simon Willison for the report, Fabian Braun and Sarah Boyce for
the review.
2024-08-19 12:39:57 -03:00
Mohammad Salehi
ca47884410
Fixed #35623 -- Documented that a field cannot be named 'check'.
2024-08-12 19:58:37 +02:00
Adam Johnson
49815f70e4
Refs #31405 -- Improved LoginRequiredMiddleware documentation.
...
co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2024-08-08 10:05:31 +02:00
Mariusz Felisiak
304d256674
Used :pypi: role in docs where appropriate.
2024-08-05 10:35:50 -03:00
Jake Howard
d5bebc1c26
Refs #35537 -- Improved documentation and test coverage for email attachments and alternatives.
2024-08-05 09:21:44 +02:00
Kudz
82c71f0168
Relocated database setup details to install docs to simplify tutorial 2.
...
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-07-04 15:30:52 -03:00
lufafajoshua
136a5f9409
Fixed #34886 -- Modified sample use of lazy in delayed translations.
...
Modified example to use python standard library function
to lower the case of the string.
2024-06-25 08:59:38 +02:00
Claude Paroz
4686541691
Migrated setuptools configuration to pyproject.toml.
...
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>
2024-06-24 15:34:43 -03:00
lufafajoshua
3ac0e43207
Fixed #35306 -- Documented fallback localization formats in templates when localization is disabled.
2024-06-24 18:06:44 +02:00
Ronny Vedrilla
5fef6d2445
Fixed #35528 -- Added EmailMultiAlternatives.body_contains() helper method.
2024-06-21 12:00:56 +02:00
Sarah Boyce
7a0cd09f9f
Cleaned up EmailMultiAlternatives docs.
2024-06-21 09:43:10 +02:00
Jake Howard
aba0e541ca
Fixed #35537 -- Changed EmailMessage.attachments and EmailMultiAlternatives.alternatives to use namedtuples.
...
This makes it more descriptive to pull out the named fields.
2024-06-20 09:43:40 +02:00
Sarah Boyce
1b21feeb7b
Restructured the EmailMultiAlternatives docs.
2024-06-18 11:22:49 +02:00
lufafajoshua
e2428292ab
Fixed #35401 -- Documented the conditional_page() decorator.
2024-06-12 13:11:29 +02:00
い。
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