Nick Pope
07f9f9960c
Deprecated django.contrib.gis.geoip2.GeoIP2.open().
2023-12-05 08:21:19 +01:00
Mariusz Felisiak
464af0975c
Added stub release notes for 4.2.9.
2023-12-05 06:07:51 +01:00
Mariusz Felisiak
689306c745
Updated expected release date for 5.0.1.
2023-12-05 06:02:36 +01:00
Natalia
14884b6be8
Added stub release notes for 5.0.1.
2023-12-04 10:21:37 -03:00
Natalia
1994a26438
Finalized release notes for Django 5.0.
2023-12-04 09:25:23 -03:00
Mariusz Felisiak
8fcb9f1f10
Added release date for 4.2.8.
2023-12-04 09:24:31 +01:00
Adrien
79099a7ba4
Improved wording in auth.models.User field docs.
...
Co-authored-by: Lily Foote <code@lilyf.org>
2023-12-01 10:44:58 +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
Mariusz Felisiak
37fc832a54
Fixed #35006 -- Fixed migrations crash when altering Meta.db_table_comment on SQLite.
...
Thanks Юрий for the report.
Regression in 78f163a4fb
.
2023-11-30 10:10:27 +01:00
Mark Walker
6ab0f8ae52
Improved structure of Contributing Guide start page.
2023-11-30 08:33:29 +01:00
KimSia Sim
c9ce764f59
Updated conditions to retrieve primary keys in bulk_create() docs.
2023-11-29 11:57:53 +01:00
Adam Johnson
272ceb9584
Refs #25778 -- Updated some links and references to HTTPS.
2023-11-29 11:21:22 +01:00
Adam Johnson
9e7ac58901
Removed link to lawrence.com in contrib.sites docs.
...
lawrence.com has since become a redirect to LJWorld.com,
making the link pointless.
2023-11-28 20:11:30 +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
Aman Pandey
0fcd72bc48
Fixed #34633 -- Made create() method of reverse many-to-one managers clear prefetch_related() cache.
2023-11-28 05:46:04 +01:00
Tom Carrick
729266c6f2
Fixed #34982 -- Fixed admin's read-only password widget and help texts alignment for tablet screen size.
...
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2023-11-27 14:42:25 -03:00
Mariusz Felisiak
a652f07596
Fixed #34978 , Refs #31331 -- Added backward incompatibility note about raw aggregations on MySQL.
...
Thanks Matthew Somerville for the report.
2023-11-27 11:57:07 +01:00
Nathaniel Conroy
0257426fe1
Fixed #34992 -- Fixed DatabaseFeatures.allows_group_by_selected_pks on MariaDB with ONLY_FULL_GROUP_BY sql mode.
...
Regression in 041551d716
.
2023-11-27 09:20:10 +01:00
Adam Johnson
0203771b62
Refs #34380 -- Improved docs for forms.URLField.assume_scheme.
2023-11-25 17:08:50 +01:00
Nick Pope
5e28cd3f2c
Fixed #34983 -- Deprecated django.utils.itercompat.is_iterable().
2023-11-24 12:06:29 +01:00
Tom Carrick
a89c715c3b
Fixed #34994 -- Fixed checkbox layout in admin's change page for narrow screen widths.
...
Regression in d687febce5
.
2023-11-23 15:18:07 -03:00
Tom Carrick
4eb9c3d90a
Fixed #34991 -- Fixed pagination links and input layout in admin's change list page when using list_editable.
...
Regression in b4817d20b9
.
Thanks Tom Carrick for the report and fix.
2023-11-23 09:39:57 -03:00
Tom Carrick
a03593967f
Fixed #14611 -- Added query_params argument to RequestFactory and Client classes.
2023-11-23 10:39:29 +01:00
Simon Charette
e76cc93b01
Fixed #34987 -- Fixed queryset crash when mixing aggregate and window annotations.
...
Regression in f387d024fc
.
Just like `OrderByList` the `ExpressionList` expression used to wrap
`Window.partition_by` must implement `get_group_by_cols` to ensure the
necessary grouping when mixing window expressions with aggregate
annotations is performed against the partition members and not the
partition expression itself.
This is necessary because while `partition_by` is implemented as
a source expression of `Window` it's actually a fragment of the WINDOW
expression at the SQL level and thus it should result in a group by its
members and not the sum of them.
Thanks ElRoberto538 for the report.
2023-11-23 06:09:08 +01:00
Tim Schilling
aceee39d44
Fixed #34990 -- Changed link to OWASP in CSRF docs.
...
The OWASP site is the standard resource for web application
security information.
2023-11-23 05:27:30 +01:00
Thibaud Colas
a2769a68ea
Added VoiceOver iOS and macOS separately in admin FAQ.
...
Follow up to 6daf86058b
.
2023-11-21 05:45:50 +01:00
Mariusz Felisiak
ecfea054ee
Refs #34118 -- Doc'd Python 3.12 compatibility in Django 4.2.x.
2023-11-19 16:31:46 +01:00
Simon Charette
7530cf3900
Fixed #34975 -- Fixed crash of conditional aggregate() over aggregations.
...
Adjustments made to solve_lookup_type to defer the resolving of
references for summarized aggregates failed to account for similar
requirements for lookup values which can also reference annotations
through Aggregate.filter.
Regression in b181cae2e3
.
Refs #25307 .
Thanks Sergey Nesterenko for the report.
2023-11-18 15:38:04 +01:00
Mariusz Felisiak
594873befb
Removed obsolete warnings about asgiref.sync adapters with sensitive variables.
...
Django 5.0+ required asgiref 3.7+, and this warning is obsolete for
asgiref 3.7+ since
be6635e0e7
.
2023-11-17 12:09:32 +01:00
Thibaud Colas
6daf86058b
Doc'd support for assistive technologies in the admin.
2023-11-17 09:29:24 +01:00
David Smith
eec7e9ba89
Refs #32819 -- Established relationship between form fieldsets and their help text.
...
This adds aria-describedby for widgets rendered in a fieldset such as
radios. aria-describedby for these widgets is added to the <fieldset>
element rather than each <input>.
2023-11-17 08:12:36 +01:00
David Smith
292f1ea90f
Refs #32819 -- Used auto_id instead of id_for_label as unique identifier for the field.
...
`id_for_label` is blank for widgets with multiple inputs such as radios
and multiple checkboxes. Therefore , `help_text` for fields using these
widgets cannot currently be associated using `aria-describedby`.
`id_for_label` is being used as a guard to avoid incorrectly adding
`aria-describedby` to those widgets.
This change uses `auto_id` as the unique identified for the fields
`help_text`. A guard is added to avoid incorrectly adding
`aria-describedby` to inputs by checking the widget's `use_fieldset`
attribute. Fields rendered in a `<fieldset>` should have
`aria-describedby` added to the `<fieldset>` and not every `<input>`.
2023-11-16 12:23:42 +01:00
Markus Amalthea Magnuson
61c305f298
Fixed #34970 -- Clarified Password Validation docs regarding the password_changed callback.
2023-11-15 15:35:25 -03:00
Giannis Terzopoulos
36ed45d27c
Removed obsolete sentence in custom model field docs.
2023-11-15 13:48:45 +01:00
William Hayes
640283711e
Refs #33690 -- Added missing data-theme selector to example in theming support docs.
2023-11-15 05:26:44 +01:00
Mariusz Felisiak
c705625ebf
Refs #34944 -- Propagated system checks for GeneratedField.output_field.
2023-11-14 20:22:07 +01:00
Mariusz Felisiak
5875f03ce6
Fixed #34944 -- Made GeneratedField.output_field required.
...
Regression in f333e3513e
.
2023-11-14 20:22:07 +01:00
Adam Johnson
f7389c4b07
Fixed #34457 -- Restored output for makemigrations --check.
...
Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2023-11-09 10:03:19 -03:00
Jacob Walls
427f0ed98d
Fixed typos in docs/ref/models/fields.txt.
2023-11-09 09:58:06 +03:00
Patrick Rauscher
116e225266
Fixed #34813 -- Doc'd usage of integrity HTML attribute with ManifestStaticFilesStorage.
2023-11-02 08:21:54 -03:00
Mariusz Felisiak
36173cf29d
Added stub release notes for 4.2.8.
2023-11-01 08:22:47 +01:00
Mariusz Felisiak
7caf262183
Added CVE-2023-46695 to security archive.
2023-11-01 08:16:14 +01:00
Mariusz Felisiak
05ba4130ee
Fixed CVE-2023-46695 -- Fixed potential DoS in UsernameField on Windows.
...
Thanks MProgrammer (https://hackerone.com/mprogrammer ) for the report.
2023-11-01 06:10:30 +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
Natalia
9b18af4f6f
Refs #30601 -- Fixed typos in docs/topics/db/transactions.txt.
2023-10-30 10:35:44 -03:00
Natalia
b412e5645a
Refs #15578 -- Made cosmetic edits to fixtures docs.
2023-10-30 10:29:37 -03:00
Sarah Boyce
e4d012ca05
Refs #29850 -- Added exclusion support to window frames.
2023-10-30 12:04:55 +01:00
Tom Carrick
34b411762b
Fixed #34932 -- Restored varchar_pattern_ops/text_pattern_ops index creation when deterministic collaction is set.
...
Regression in f3f9d03edf
(4.2) and
8ed25d65ea
(5.0).
2023-10-30 07:37:40 +01:00
Mariusz Felisiak
46df3ab244
Fixed typo in docs/topics/forms/index.txt.
2023-10-30 05:16:40 +01:00
Sarah Boyce
6375cee490
Refs #29850 -- Added RowRange support for positive integer start and negative integer end.
2023-10-28 15:16:07 +02:00