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
Tim Graham
6d1cf5375f
Added some heading labels to to docs/topics/cache.txt.
2025-03-02 19:55:04 +01:00
Sarah Boyce
ea1e3703be
Added stub release notes and release date for 5.1.7, 5.0.13, and 4.2.20.
2025-02-27 16:03:26 +01:00
Jonathan Ströbele
240421c7c4
Fixed #36186 -- Added forloop.length variable within a template for loop.
2025-02-24 16:25:53 +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
enprava
51cab4ad51
Fixed #35705 -- Added Rotate GIS database function to rotate geometries.
2025-02-23 16:20:57 +01:00
Joonas Häkkinen
87c5de3b7f
Fixed #36200 -- Clarified MIDDLEWARE setting updates when using a custom RemoteUserMiddleware.
2025-02-20 16:12:28 +01:00
Adam Zapletal
43766c70bd
Clarified admonition in GeneratedField docs.
2025-02-20 14:41:00 +01:00
Mariusz Felisiak
65c46d6932
Fixed #35358 , Refs #35234 -- Renamed _check() methods to check() for constraints.
2025-02-19 20:27:30 +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
Mariusz Felisiak
2684a383bc
Fixed docs build on Sphinx 8.2+.
2025-02-19 09:44:53 +01:00
Sarah Boyce
9d22a7d8f0
Removed advice to propose a new contrib app.
2025-02-18 16:09:53 +01:00
Simon Charette
c3a23aa02f
Fixed #36197 -- Fixed improper many-to-many count() and exists() for non-pk to_field.
...
Regression in 66e47ac69a7e71cf32eee312d05668d8f1ba24bb.
Thanks mfontana-elem for the report and Sarah for the tests.
2025-02-18 11:43:27 +01:00
Mariusz Felisiak
efb7f9ced2
Refs #36005 -- Used datetime.UTC alias instead of datetime.timezone.utc.
...
datetime.UTC was added in Python 3.11.
2025-02-18 08:35:36 +01:00
Gaël Utard
0d1dd6bba0
Fixed #36191 -- Truncated the overwritten file content in FileSystemStorage.
2025-02-17 14:01:00 +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
Simon Charette
99ac8e2589
Refs #35967 -- Doc'd DatabaseCreation.serialize_db_to_string() method.
2025-02-16 08:37:55 +01:00
Luke Cousins
579a1c9996
Corrected wording in docs/ref/models/constraints.txt.
2025-02-14 15:19:12 +01:00
Jaime Terreu
d87bb0eb3e
Fixed typo in docs/ref/databases.txt.
2025-02-14 15:15:27 +01:00
Natalia
56e23b2319
Fixed #36158 -- Refactored shell command to improve auto-imported objects reporting.
2025-02-13 16:01:13 +01:00
Sarah Boyce
05002c153c
Fixed #36182 -- Returned "?" if all parameters are removed in querystring template tag.
...
Thank you to David Feeley for the report and Natalia Bidart for the review.
2025-02-13 15:49:25 +01:00
Mariusz Felisiak
54a902c6e8
Reverted "Refs #35803 -- Added support for __coveredby GIS lookup on MariaDB 11.7+."
...
This partly reverts commit 0b7edb9fcdd33d47ec5701b4f9b9553e27a88e95.
MariaDB reverted GIS functions.
2025-02-13 10:38:04 +01:00
Mariusz Felisiak
eb70aafdba
Reverted "Fixed #35803 -- Added support for Collect, GeoHash, and IsValid on MariaDB 11.7+."
...
This reverts commit c77573716a58af32ffcfc4fe87ff9e5c97909bd2.
MariaDB reverted GIS functions.
2025-02-13 10:38:04 +01:00
Natalia
3839afb63a
Refs #35515 -- Added missing docs for --no-imports
flag for the shell command.
2025-02-10 22:58:26 -03:00
Natalia
ca0794fa32
Wrapped lines at 79 cols in docs/howto/custom-shell.txt.
2025-02-10 22:58:26 -03: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
Mariusz Felisiak
17160819f3
Fixed #36105 -- Dropped support for MariaDB 10.5.
2025-02-09 12:57:40 +01:00
Natalia
e2a8f4dac8
Added stub release notes for 5.1.7.
2025-02-05 11:21:09 -03:00
Natalia
294cc965ef
Added release date for 5.1.6, 5.0.12, and 4.2.19.
2025-02-05 10:38:24 -03:00
amirreza sohrabi far
5da3ad7bf9
Clarified docs for default email value in UserManager.create_user().
2025-02-04 16:35:07 -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
Andrew Harris
5f30fd2358
Refs #36036 -- Added support for GEOSHasM.
2025-02-03 11:34:23 +00:00
nessita
d15454a6e8
Fixed #36140 -- Allowed BaseUserCreationForm to define non required password fields.
...
Regression in e626716c28b6286f8cf0f8174077f3d2244f3eb3.
Thanks buffgecko12 for the report and Sarah Boyce for the review.
2025-02-01 22:49:07 -03:00
Mike Edmunds
248d8457cb
Fixed #36162 -- Fixed the black
Makefile docs rule to work on macOS.
...
The `make black` target in the docs directory used Linux-specific
syntax for its `find` command. Changed to syntax that also works
on macOS and other BSD Unix variants.
2025-02-01 22:27:38 -03:00
nessita
fd3cfd80be
Tweaked docs to avoid reformatting given new black version.
2025-01-30 10:37:14 -03:00
Mohammadreza Eskandari
12b9ef38b3
Fixed #36121 -- Allowed customizing the admin site password change form.
2025-01-30 11:19:05 +00:00
Salvo Polizzi
b84478ae95
Fixed #36159 -- Removed the empty import example in the custom shell docs.
...
This can be achieved with the --no-imports flag.
2025-01-30 11:15:05 +00: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
Clifford Gama
9cc3970eaa
Fixed ambiguous pronoun reference in docs/ref/models/fields.txt.
2025-01-24 18:45:31 +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
Georgi Yanchev
64b1ac7292
Fixed #24529 -- Allowed double squashing of migrations.
...
Co-authored-by: Raphael Gaschignard <raphael@rtpg.co>
2025-01-22 10:56:30 +01:00
Igor Scheller
136a1e8927
Refs 35653 -- Clarified docs for EMAIL_SSL_CERTFILE and EMAIL_SSL_KEYFILE settings.
2025-01-21 19:34:23 -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
Clifford Gama
c41d6c9bb8
Fixed typos in docs/releases/5.2.txt.
2025-01-16 13:12:51 +01:00