Commit Graph

13606 Commits

Author SHA1 Message Date
Mariusz Felisiak f82a2c3b3d Added release date for 5.0.1 and 4.2.9. 2024-01-02 09:57:41 +01:00
Salvo Polizzi 3915d4c70d Fixed #35060 -- Deprecated passing positional arguments to Model.save()/asave(). 2024-01-02 08:42:33 +01:00
Zowie Beha 8fcd7b01ee Fixed #35072 -- Corrected Field.choices description in models topic. 2024-01-01 18:53:01 +01:00
Salvo Polizzi dc26a3d563 Fixed #35069 -- Fixed typo in docs/ref/forms/api.txt. 2023-12-30 14:28:10 +01:00
Nick Pope 94b6f101f7
Fixed #29049 -- Added slicing notation to F expressions.
Co-authored-by: Priyansh Saxena <askpriyansh@gmail.com>
Co-authored-by: Niclas Olofsson <n@niclasolofsson.se>
Co-authored-by: David Smith <smithdc@gmail.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-authored-by: Abhinav Yadav <abhinav.sny.2002@gmail.com>
2023-12-30 08:24:30 +01:00
Mohammad Yameen bb560651c4
Corrected method/function wording in tutorial 3. 2023-12-29 06:01:18 +01:00
virgitl.io acfdf39506
Added backticks around name argument in tutorial 3. 2023-12-29 05:57:30 +01:00
Mariusz Felisiak 0be6dde817
Corrected code-block directives in docs. 2023-12-28 19:52:15 +01:00
David D Lowe 61aae838f7 Improved DEFAULT_FROM_EMAIL/SERVER_EMAIL docs.
Co-authored-by: nessita <124304+nessita@users.noreply.github.com>
2023-12-28 08:30:50 +01:00
Mariusz Felisiak 751d732a38
Fixed #35056 -- Fixed system check crash on reverse m2m relations with related_name in ModelAdmin.filter_horizontal/vertical.
Thanks Thomas Feldmann for the report.

Regression in 107865780a.
2023-12-27 20:36:22 +01:00
David Wobrock 14917c9ae2 Fixed #35050 -- Fixed prefixing field names in FilteredRelation().
Thanks Mark Zorn for the report.

Regression in 59f4754704.
2023-12-23 17:35:13 +01:00
Mariusz Felisiak 6c08dba517
Fixed #35054 -- Fixed crash on Oracle when fetching JSONFields with oracledb 2.0.0. 2023-12-22 09:43:45 +01:00
Nicolas Lupien 2bf46c3825 Fixed #34658 -- Added SimpleTestCase.assertNotInHTML(). 2023-12-22 08:27:59 +01:00
David Smith 3ec15b0bcf Fixed #35005 -- Confirmed support for GDAL 3.8. 2023-12-21 10:35:23 +01:00
David Smith c709a748ce Fixed #35049 -- Dropped support for GDAL 2.4. 2023-12-20 21:44:11 +01:00
David Smith fa1d0b11e4 Fixed #35048 -- Dropped support for PROJ 5.x. 2023-12-20 21:06:43 +01:00
Nicolas Lupien d4c583682e Fixed #35015 -- Updated MySQL notes in migrations topic. 2023-12-20 20:04:42 +01:00
Amin Shah Gilani 47033bfd48
Doc'd that users with unusable passwords cannot request a password reset. 2023-12-19 14:04:04 -03:00
Viicos e28bd6776d
Added missing import in docs/ref/models/expressions.txt. 2023-12-15 11:17:06 +01:00
Mariusz Felisiak 86c45d8bc6
Fixed typos in docs. 2023-12-15 07:54:02 +01:00
Christian Clauss 0d5e9a32eb
Updated examples for 2.0+ release numbering in installation FAQ. 2023-12-15 06:16:02 +01:00
David Sanders acfc7e3a73
Added clarifications about the DATABASES.TIME_ZONE setting in docs.
These include:
 - Doc'd which is the default used when DATABASES.TIME_ZONE is None.
 - Doc'd that the database connection's time zone setting is set for
   PostgreSQL and clarified that it may be necessary to set it to the
   same value as TIME_ZONE.

Co-authored-by: David Smith <39445562+smithdc1@users.noreply.github.com>
Co-authored-by: Natalia Bidart <124304+nessita@users.noreply.github.com>
2023-12-14 14:35:04 -03:00
Nanami 5b52376d9f
Fixed HTML code snippet in Tutorial's part 7 when customizing the admin's site header. 2023-12-14 10:09:34 -03:00
Emanuel Andrecut e72b2826ff Fixed #35032 -- Corrected Char32UUIDField implementation in 5.0 release notes.
This fixes Char32UUIDField implementation in 5.0 release notes causing
records with UUIDFields created using pre-Django 5.0 and CHAR(32) not
being able to be saved anymore after upgrading and keeping the CHAR(32)
columns.

Regression in 7cd187a5ba.
2023-12-14 09:26:24 +01:00
Tom Carrick 4aae864463 Fixed #35012 -- Restored wrapping admin fieldsets with multiple fields per line.
Thanks James Gillard for the report.

Regression in 729266c6f2.
2023-12-13 06:04:18 +01:00
Simon Charette b0ad41198b Fixed #34013 -- Added QuerySet.order_by() support for annotation transforms.
Thanks Eugene Morozov and Ben Nace for the reports.
2023-12-12 05:51:33 +01:00
Mariusz Felisiak fcf95e5927
Fixed #35018 -- Fixed migrations crash on GeneratedField with BooleanField as output_field on Oracle < 23c.
Thanks Václav Řehák for the report.

Regression in f333e3513e.
2023-12-12 05:39:11 +01:00
Sarah Boyce b287af5dc9 Fixed #35019 -- Fixed save() on models with both GeneratedFields and ForeignKeys.
Thanks Deb Kumar Das for the report.

Regression in f333e3513e.
2023-12-08 09:46:11 +01:00
Yashas eeb2119985 Fixed #35016 -- Doc'd that DATABASES["OPTIONS"] are passed to new PostgreSQL connections. 2023-12-08 08:21:51 +01:00
Mariusz Felisiak 5b3b791e90
Fixed #35024 -- Fixed model instance creation crash on GeneratedField.output_field with backend converters.
Regression in d9de74141e.

This is a long standing issue, however it caused a crash of
GeneratedFields for all output fields that have backend-specific
converters when the RETURNING clause is not supported
(MySQL and SQLite < 3.35).
That's why severity was exacerbated.
2023-12-07 20:50:18 +01:00
Sarah Boyce f80669d2f5 Fixed #35020 -- Fixed ModelAdmin.lookup_allowed() for non-autofield primary keys.
Thanks Joshua Goodwin for the report.

Regression in 45ecd9acca.
2023-12-07 06:16:35 +01:00
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