Sarah Boyce
d637e251b4
[5.2.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 582ba18d56167587e290545f113d3956e73a5801 from main.
2025-02-24 08:54:44 +01:00
Sarah Boyce
865337ae92
[5.2.x] Added security reporting guidelines.
...
Backport of 59353360590202fab04067e23214a825157c524b from main.
2025-02-24 08:54:18 +01:00
Sarah Boyce
a39d0ff88f
[5.2.x] Updated expectations for when security reports will receive a reply.
...
Backport of cecb76a942e4c9df518df098b1e62778cfe20f06 from main.
2025-02-24 08:53:56 +01:00
Sarah Boyce
463e87e249
[5.2.x] Fixed #35908 -- Retired the django-developers and django-users mailing lists.
...
Co-authored-by: Chaitanya Rahalkar <chaitanyarahalkar@squareup.com>
Backport of 86493307f97b9795a74227b6af2d59a267160847 from main.
2025-02-19 12:16:20 +01:00
Mariusz Felisiak
efef715525
[5.2.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 26aedbbc0835df83140c7424df62bda03382f598.
Backport of 0dc61495b2217e9c5a872ac967dfcf197d342c84 from main.
2025-02-10 22:54:26 -03:00
nessita
d6a44efa49
[5.2.x] Refs #35612 -- Extended docs on how the security team evaluates reports.
...
Co-authored-by: Shai Berger <shai@platonix.com>
Backport of f609a2da868b2320ecdc0551df3cca360d5b5bc3 from main.
2025-02-04 08:55:11 -03:00
Sarah Boyce
4aa2cd6f68
[5.2.x] Clarified the Releaser's discretion for determining and postponing the release date.
...
Backport of 8a6b4175d790424312965ec77e4e9b072fba188b from main.
2025-01-28 18:19:14 +01:00
Sarah Boyce
9fe17213a6
[5.2.x] Updated the release process documentation to reflect the current process.
...
Backport of 0ba35a49481c9fec4731ca0dd2230d8d48f51389 from main.
2025-01-28 11:34:07 +01:00
nessita
123d00a9a3
[5.2.x] Clarified feature freeze tasks in docs/internals/howto-release-django.txt.
...
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
Backport of f133285a9a7f3647fd55abc2e57b8a9a2c11ac94 from main.
2025-01-23 11:29:20 -03:00
Baptiste Mispelon
d6c2b67884
[5.2.x] Fixed #36125 -- Switched docs to use chat.djangoproject.com when referencing the Discord server.
...
Backport of 9a1f18635ff034b039c24ed5121cced028fc27d0 from main.
2025-01-22 18:23:33 -03:00
Mariusz Felisiak
55afe50aca
[5.2.x] Refs #32193 -- Updated python-memcached to pymemcache in contributing guide.
...
Follow up to 05f3a6186efefc9fca2204a745b992501c6fd91f.
Backport of 337c641abb36b3c2501b14e1290b800831bb20ad from main
2025-01-20 22:44:34 +01:00
Sarah Boyce
15e207ce80
Fixed #35999 -- Removed #django IRC channel references where appropriate.
...
Some references are replaced with links to the Django Discord server.
2025-01-08 10:24:52 +01:00
Chris Muthig
d734f1651c
Refs #35444 -- Deprecated contrib.postgres aggregates ordering for order_by.
...
Aligns the argument with SQL standards already used in Window.order_by and
sets up for adding support to Aggregate.
2025-01-06 09:39:21 +01:00
Jaap Roes
ceecd518b1
Fixed #35530 -- Deprecated request.user fallback in auth.login and auth.alogin.
2024-11-28 17:43:46 +01:00
Adam Zapletal
e9ed5da3cb
Removed trailing whitespace in docs.
2024-11-27 13:13:28 -03:00
AfiMaameDufie
da2432ccca
Replaced message suggestions from IRC to Discord in contributing docs.
2024-11-14 11:36:16 +01:00
Mariusz Felisiak
46eb256cce
Refs #32365 -- Removed pytz from list of test dependencies in unit test docs.
...
Follow up to e6f82438d4e3750e8d299bfd79dac98eebe9f1e0.
2024-11-11 12:24:21 +01:00
ssanger
c4c076223e
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
2024-11-06 17:03:21 +01:00
Maria Hynes
db5980ddd1
Clarified instructions on how to claim a ticket.
2024-11-05 16:59:34 +01:00
Mariusz Felisiak
2bfb1211c0
Fixed typo in docs/internals/howto-release-django.txt.
2024-11-05 16:15:01 +01:00
maddrum
b50d1a020d
Fixed #35866 -- Clarified the positioning Python magic methods on models in the internal style guide.
2024-10-30 16:21:57 +01:00
Paolo Melchiorre
b5669f08bc
Improved the writing documentation contributing guide.
2024-10-25 16:35:35 +02:00
mbcodes
c973d9ee82
Improved readability of triage workflow image by increasing its size and color contrast.
2024-10-25 10:00:33 +02:00
Maryam Yusuf
438fc42ac6
Expanded contributor docs on getting feedback from the wider community.
2024-10-16 13:23:19 +02:00
Sarah Boyce
9423f8b476
Fixed #35612 -- Added documentation on how the security team evaluates reports.
...
Co-authored-by: Joshua Olatunji <joshua+github@etentlabs.com>
2024-10-11 10:53:11 +02:00
Sarah Boyce
39de2e97a0
Made cosmetic edits to the Steering council docs.
2024-09-23 06:50:44 -04:00
Sarah Boyce
121747fdba
Removed setting the release schedule from Steering Council prerogatives as per DEP 44.
2024-09-16 12:15:41 +02:00
Simon Charette
57307bbc7d
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.
2024-08-28 11:44:05 -03:00
Mariusz Felisiak
304d256674
Used :pypi: role in docs where appropriate.
2024-08-05 10:35:50 -03:00
Maryam Yusuf
7e00fee3bd
Fixed #35546 -- Emphasised accepted ticket requirement in contributing docs.
2024-07-29 15:12:43 +02:00
Maryam Yusuf
9d10c7ab33
Referenced joining the triage and review team as motivation to do PR reviews.
2024-07-29 14:46:10 +02:00
Sarah Boyce
2c024c9ac0
Added contributor guidelines for performance optimizations.
2024-07-25 09:25:25 +02:00
Mariusz Felisiak
df35cf578f
Updated asgiref dependency for 5.1 release series.
2024-07-24 08:21:07 +02:00
Andreu Vallbona
55a2e3136b
Replaced usage of "patch" with more precise terms in contributing docs.
2024-07-04 17:52:19 -03:00
Mariusz Felisiak
8719a6181e
Refs #22712 -- Corrected deprecation of "all" argument in django.contrib.staticfiles.finders.find().
...
Features deprecated in Django 5.2 should be removed in Django 6.1.
2024-06-28 08:39:55 -03: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
Natalia
3a748cd0f5
Advanced deprecation warnings for Django 5.2.
2024-05-22 15:44:07 -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