Commit graph

1156 commits

Author SHA1 Message Date
Sarah Boyce
f581b0b5c2 [5.1.x] Documented the updating of translation catalogs in post-release tasks.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>

Backport of 922c1c732a from main.
2025-03-21 14:56:44 +01:00
Sarah Boyce
11243cc8f3 [5.1.x] Added security guideline on reasonable size limitations when rendering content via the DTL.
This also removes the need to add warnings for every Django template filter.

Backport of 582ba18d56 from main.
2025-02-24 08:59:00 +01:00
Sarah Boyce
b80288a16d [5.1.x] Added security reporting guidelines.
Backport of 5935336059 from main.
2025-02-24 08:58:11 +01:00
Sarah Boyce
ce8dd44285 [5.1.x] Updated expectations for when security reports will receive a reply.
Backport of cecb76a942 from main.
2025-02-24 08:57:25 +01:00
Sarah Boyce
481b82802d [5.1.x] Fixed #35908 -- Retired the django-developers and django-users mailing lists.
Co-authored-by: Chaitanya Rahalkar <chaitanyarahalkar@squareup.com>

Backport of 86493307f9 from main.
2025-02-19 12:18:12 +01:00
Mariusz Felisiak
861f9a2427 [5.1.x] Specified "django" repository for twine call in docs/internals/howto-release-django.txt.
It's necessary to specify a repository for `.pypirc` user configurations
with multiple per-project PyPI tokens.

Follow up to 26aedbbc08.

Backport of 0dc61495b2 from main.
2025-02-10 22:56:33 -03:00
nessita
b814f4ccaa [5.1.x] Refs #35612 -- Extended docs on how the security team evaluates reports.
Co-authored-by: Shai Berger <shai@platonix.com>

Backport of f609a2da86 from main.
2025-02-04 08:56:06 -03:00
Sarah Boyce
9d1945df8f [5.1.x] Clarified the Releaser's discretion for determining and postponing the release date.
Backport of 8a6b4175d7 from main.
2025-01-28 18:20:30 +01:00
Sarah Boyce
3c1f94d70f [5.1.x] Updated the release process documentation to reflect the current process.
Backport of 0ba35a4948 from main.
2025-01-28 11:35:22 +01:00
Baptiste Mispelon
230df91150 [5.1.x] Fixed #36125 -- Switched docs to use chat.djangoproject.com when referencing the Discord server.
Backport of 9a1f18635f from main.
2025-01-22 18:24:02 -03:00
Mariusz Felisiak
db5630763d [5.1.x] Refs #32193 -- Updated python-memcached to pymemcache in contributing guide.
Follow up to 05f3a6186e.
Backport of 337c641abb from main
2025-01-20 22:45:49 +01:00
Sarah Boyce
8d81c4730f [5.1.x] Fixed #35999 -- Removed #django IRC channel references where appropriate.
Some references are replaced with links to the Django Discord server.

Backport of 15e207ce80 from main.
2025-01-08 10:29:52 +01:00
AfiMaameDufie
0c2c33bc87 [5.1.x] Replaced message suggestions from IRC to Discord in contributing docs.
Backport of da2432ccca from main.
2024-11-14 11:38:05 +01:00
Mariusz Felisiak
6f32087a09 [5.1.x] Refs #32365 -- Removed pytz from list of test dependencies in unit test docs.
Follow up to e6f82438d4.

Backport of 46eb256cce from main.
2024-11-11 12:25:51 +01:00
ssanger
08c0c42139 [5.1.x] Fixed #35863 -- Replaced bold text with heading level 3 in new contributors docs.
This improves accessibility for screen reader users, see WCAG SC 1.3.1 Info and Relationships:
https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships.html

Backport of c4c076223e from main.
2024-11-06 17:05:37 +01:00
Maria Hynes
113c2ff48c [5.1.x] Clarified instructions on how to claim a ticket.
Backport of db5980ddd1 from main.
2024-11-05 17:02:35 +01:00
Mariusz Felisiak
73bdd9f219 [5.1.x] Fixed typo in docs/internals/howto-release-django.txt.
Backport of 2bfb1211c0 from main.
2024-11-05 16:17:14 +01:00
mbcodes
95067098dd [5.1.x] Improved readability of triage workflow image by increasing its size and color contrast.
Backport of c973d9ee82 from main.
2024-10-25 10:02:28 +02:00
Maryam Yusuf
8ce0039cee [5.1.x] Expanded contributor docs on getting feedback from the wider community.
Backport of 438fc42ac6 from main.
2024-10-16 13:25:43 +02:00
Sarah Boyce
a9a7ef7762 [5.1.x] Fixed #35612 -- Added documentation on how the security team evaluates reports.
Co-authored-by: Joshua Olatunji <joshua+github@etentlabs.com>

Backport of 9423f8b476 from main.
2024-10-11 17:15:51 +02:00
Sarah Boyce
9e146b27ad [5.1.x] Made cosmetic edits to the Steering council docs.
Backport of 39de2e97a0 from main.
2024-09-23 12:53:17 +02:00
Sarah Boyce
251180f7f9 [5.1.x] Removed setting the release schedule from Steering Council prerogatives as per DEP 44.
Backport of 121747fdba from main.
2024-09-21 15:10:22 +02:00
Simon Charette
9a461cae3e [5.1.x] Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test suite accordingly.
Over the years we've had multiple instances of hit and misses when
emitting warnings: either setting the wrong stacklevel or not setting
it at all.

This work adds assertions for the existing warnings that were declaring
the correct stacklevel, but were lacking tests for it.

Backport of 57307bbc7d from main.
2024-08-28 11:47:15 -03:00
Mariusz Felisiak
20bd3f02be [5.1.x] Used :pypi: role in docs where appropriate.
Backport of 304d256674 from main.
2024-08-05 10:36:41 -03:00
Sarah Boyce
d9d77de2f6 [5.1.x] Added contributor guidelines for performance optimizations.
Backport of 2c024c9ac0 from main.
2024-07-25 09:28:15 +02:00
Mariusz Felisiak
e5d2664908 [5.1.x] Updated asgiref dependency for 5.1 release series.
Backport of df35cf578f from main.
2024-07-24 08:25:45 +02:00
Andreu Vallbona
7ad42bc812 [5.1.x] Replaced usage of "patch" with more precise terms in contributing docs.
Backport of 55a2e3136b from main.
2024-07-04 17:55:19 -03:00
Claude Paroz
b4dd76c315 [5.1.x] 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>

Backport of 4686541691 from main.
2024-06-24 22:31:17 -03:00
Adam Johnson
b9838c65ec Fixed #35405 -- Converted get_cache_name into a cached property in FieldCacheMixin.
FieldCacheMixin is used by related fields to track their cached values.
This work migrates get_cache_name() to be a cached property to optimize
performance by reducing unnecessary function calls when working with
related fields, given that its value remains constant.

Co-authored-by: Simon Charette <charette.s@gmail.com>
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-05-21 16:19:29 -03:00
Ben Cail
0b33a3abc2 Fixed #35326 -- Added allow_overwrite parameter to FileSystemStorage. 2024-05-21 07:28:12 +02:00
nessita
1a36dce9c5
Updated docs for the Django release process. 2024-05-10 19:45:19 -03:00
Sarah Boyce
39828fa778 Added a high contrast mode to screenshot cases.
Thank you to Sarah Abderemane and Nick Pope for the reviews.
2024-05-02 13:18:58 +02:00
nessita
e359f05b49
Updated docs for updating translations in docs/internals/howto-release-django.txt.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2024-04-10 18:13:59 -03:00
Ryan Cheley
f2c3524959 Fixed #14831 -- Extended template style guide in docs. 2024-03-11 11:05:54 +01:00
Mariusz Felisiak
177e649396
Fixed broken links and redirects in docs. 2024-03-06 08:50:21 +01:00
Simon Charette
daf7d482db Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.
Once the deprecation period ends CheckConstraint.check() can become the
documented method that performs system checks for BaseConstraint
subclasses.
2024-03-01 07:15:32 +01:00
Salvo Polizzi
6e1ece7ed5 Fixed #35090 -- Deprecated registering URL converters with the same name. 2024-02-23 15:54:49 +01:00
Koo
aaffbabd58
Fixed typo in docs/internals/contributing/writing-code/coding-style.txt. 2024-02-08 05:57:59 +01:00
shivaramkumar
a47de0d6cd
Changed severity levels to list in security policy docs. 2024-02-05 05:36:32 +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
David Smith
f4c5973464 Refs #35058 -- Deprecated OGRGeometry.coord_dim setter.
Reflecting a change in the underlying GDAL library (since GDAL 2.1)
using coord_dim to set a geometries dimensions is deprecated in favor
of set_3d().
2024-01-23 05:37:59 +01:00
Mark Walker
4eb4ab4122 Reorganized the Contributing to Django docs.
This work follows a comprehensive review conducted during the DjangoCon US 2023
sprints. Changes include:
 - Updated the title of the main page for better alignment with the content.
 - Removed emojis to enhance accessibility and avoid cultural specificity.
 - Improved the layout and navigation of contributing documentation.
 - Unified sections for communication channels and community links.
 - Grouped resources according to the Diátaxis systematic approach.

Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Co-authored-by: Daniele Procida <daniele@vurt.org>
2024-01-11 22:25:27 -03:00
Salvo Polizzi
3915d4c70d Fixed #35060 -- Deprecated passing positional arguments to Model.save()/asave(). 2024-01-02 08:42:33 +01:00
Nick Pope
07f9f9960c Deprecated django.contrib.gis.geoip2.GeoIP2.open(). 2023-12-05 08:21:19 +01:00
Nick Pope
b925fefd7d Deprecated django.contrib.gis.geoip2.GeoIP2.coords().
The `ordering` argument is undocumented and of limited use, so this is
effectively the same as `GeoIP2.lon_lat()`.
2023-12-01 08:38:42 +01:00
Mark Walker
6ab0f8ae52 Improved structure of Contributing Guide start page. 2023-11-30 08:33:29 +01:00
Mariusz Felisiak
a4931cd75a
Refs #34380 -- Added FORMS_URLFIELD_ASSUME_HTTPS transitional setting.
This allows early adoption of the new default "https".
2023-11-28 20:04:21 +01:00
Nick Pope
5e28cd3f2c
Fixed #34983 -- Deprecated django.utils.itercompat.is_iterable(). 2023-11-24 12:06:29 +01:00
Akash Kumar Sen
40b3975e7d Fixed #34462 -- Made admin log actions in bulk.
This also deprecates ModelAdmin.log_deletion() and
LogEntryManager.log_action().
2023-10-31 18:06:44 +01:00
Lance Goyke
a680ac7d77 Restructured writing documentation contributing guide.
This trims and clearly delineates the how to guide from the subsequent
explanation with additional subheadings.

These changes have been discussed with Daniele Procida
at the DjangoCon US 2023 sprints.
2023-10-21 09:44:36 +02:00