1
0
mirror of https://github.com/django/django.git synced 2025-03-13 10:50:55 +00:00

1172 Commits

Author SHA1 Message Date
Chris Muthig
1759c1dbd1 Refs #35444 -- Deprecated contrib.postgres.OrderableAggMixin.
This commit does not create any functional changes, but marks the
existing `OrderableAggMixin` class as deprecated so that developers
using it directly can be made aware of its future removal.
2025-03-03 11:37:00 +01:00
Chris Muthig
4b977a5d72 Fixed #35444 -- Added generic support for Aggregate.order_by.
This moves the behaviors of `order_by` used in Postgres aggregates into
the `Aggregate` class. This allows for creating aggregate functions that
support this behavior across all database engines. This is shown by
moving the `StringAgg` class into the shared `aggregates` module and
adding support for all databases. The Postgres `StringAgg` class is now
a thin wrapper on the new shared `StringAgg` class.

Thank you Simon Charette for the review.
2025-03-03 11:37:00 +01:00
Sarah Boyce
582ba18d56 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.
2025-02-24 08:51:08 +01:00
Sarah Boyce
5935336059 Added security reporting guidelines. 2025-02-24 08:51:08 +01:00
Sarah Boyce
cecb76a942 Updated expectations for when security reports will receive a reply. 2025-02-24 08:51:08 +01:00
Sarah Boyce
86493307f9 Fixed #35908 -- Retired the django-developers and django-users mailing lists.
Co-authored-by: Chaitanya Rahalkar <chaitanyarahalkar@squareup.com>
2025-02-19 12:14:27 +01:00
Simon Charette
2d34ebe49a Refs #35967 -- Deprecated BaseDatabaseCreation.create_test_db(serialize).
Given there are no longer any internal usages of serialize=True and it
poses a risk to non-test databases integrity it seems appropriate to
deprecate it.
2025-02-16 08:43:42 +01:00
Mariusz Felisiak
0dc61495b2
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.
2025-02-10 22:53:31 -03:00
nessita
f609a2da86
Refs #35612 -- Extended docs on how the security team evaluates reports.
Co-authored-by: Shai Berger <shai@platonix.com>
2025-02-04 08:54:01 -03:00
Sarah Boyce
8a6b4175d7 Clarified the Releaser's discretion for determining and postponing the release date. 2025-01-28 17:18:08 +00:00
Sarah Boyce
0ba35a4948 Updated the release process documentation to reflect the current process. 2025-01-28 10:32:58 +00:00
Mariusz Felisiak
d9af197801
Refs #36005 -- Bumped minimum supported versions of 3rd-party packages.
This bumps minimum supported versions of 3rd-party packages to the first
releases to support Python 3.12.
2025-01-28 08:02:13 +01:00
nessita
f133285a9a
Clarified feature freeze tasks in docs/internals/howto-release-django.txt.
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2025-01-23 11:28:04 -03:00
Baptiste Mispelon
9a1f18635f
Fixed #36125 -- Switched docs to use chat.djangoproject.com when referencing the Discord server. 2025-01-22 18:22:50 -03:00
Mariusz Felisiak
337c641abb
Refs #32193 -- Updated python-memcached to pymemcache in contributing guide.
Follow up to 05f3a6186efefc9fca2204a745b992501c6fd91f.
2025-01-20 22:43:44 +01:00
Mariusz Felisiak
f5772de696 Fixed #36005 -- Dropped support for Python 3.10 and 3.11. 2025-01-20 14:07:28 +01:00
Sarah Boyce
7bc88c3c15 Advanced deprecation warnings for Django 6.0. 2025-01-15 22:28:37 +01:00
Sarah Boyce
810edfd742 Removed versionadded/changed annotations for 5.1.
This also removes remaining versionadded/changed annotations for older
versions.
2025-01-15 22:28:37 +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