1
0
mirror of https://github.com/django/django.git synced 2024-12-27 11:35:53 +00:00
Commit Graph

32167 Commits

Author SHA1 Message Date
duranbe
b2601a77f9 [5.0.x] Fixed #34971 -- Doc'd additional loggers.
Co-authored-by: duranbe <benoit.durand.mail@gmail.com>
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>

Backport of 0450c9bdf1 from main
2024-01-24 08:48:17 -03:00
Adrienne Franke
d490d009a3 [5.0.x] Fixed typo in docs/topics/auth/default.txt.
Backport of 8570e091d0 from main
2024-01-22 17:43:46 +01:00
Adam Johnson
60bc65eb80 [5.0.x] Fixed tutorial 'background.gif' reference.
Missed in 76fda7729e.
Backport of a5622f84ab from main
2024-01-22 05:26:15 +01:00
Emmanuel Katchy
c4a6a8d815 [5.0.x] Updated "Dive Into Python" links.
Backport of 12ffcfc350 from main
2024-01-20 22:22:49 +01:00
Mariusz Felisiak
ee78fe390d [5.0.x] Fixed #35127 -- Made Model.full_clean() ignore GeneratedFields.
Thanks Claude Paroz for the report.

Regression in f333e3513e.
Backport of 4879907223 from main
2024-01-19 08:56:14 +01:00
Salvo Polizzi
4ed1423de4 [5.0.x] Fixed #35121 -- Corrected color for links in the admin.
Thanks Collin Anderson for the report.

Regression in 6ad2738a8f.

Backport of 10c7c7320b from main
2024-01-18 14:07:23 +01:00
Baptiste Mispelon
a7b35aa7c9 [5.0.x] Used more specific link to email backends in EMAIL_BACKEND docs.
Backport of 1592f0ac22 from main
2024-01-16 20:10:39 +01:00
jordanbae
dd2d76803c [5.0.x] Fixed #34949 -- Clarified when UniqueConstraints with include/nulls_distinct are not created.
Backport of 4fec1d2ce3 from main
2024-01-15 14:16:12 +01:00
evananyonga
d56b2105b6 [5.0.x] Made management command examples more consistent in docs.
Backport of ec7651586d from main
2024-01-09 20:56:46 +01:00
Sarah Boyce
4cba6748a6 [5.0.x] Fixed #35087 -- Reallowed filtering against foreign keys not listed in ModelAdmin.list_filters.
Regression in f80669d2f5.

Backport of a9094ec1f4 from main
2024-01-08 14:25:32 +01:00
Adam Johnson
4818a139f7 [5.0.x] Fixed #35084 -- Recommended 'django_' prefix for reusable app modules.
Backport of 05f124348e from main
2024-01-04 11:58:33 +01:00
Adam Johnson
ef8234aef8 [5.0.x] Refs #33690 -- Updated tutorial for admin dark mode toggle.
Backport of c65f49d3cb from main
2024-01-03 22:18:45 +01:00
Mariusz Felisiak
abb2448f17 [5.0.x] Added stub release notes for 5.0.2.
Backport of f412add786 from main
2024-01-02 10:35:04 +01:00
Mariusz Felisiak
278eeca181 [5.0.x] Post-release version bump. 2024-01-02 10:09:37 +01:00
Mariusz Felisiak
9c436a09b3 [5.0.x] Bumped version for 5.0.1 release. 2024-01-02 10:07:09 +01:00
Mariusz Felisiak
01d2f94cfd [5.0.x] Added release date for 5.0.1 and 4.2.9.
Backport of f82a2c3b3d from main
2024-01-02 09:58:37 +01:00
Zowie Beha
031bc47101 [5.0.x] Fixed #35072 -- Corrected Field.choices description in models topic.
Backport of 8fcd7b01ee from main
2024-01-02 05:24:24 +01:00
Salvo Polizzi
c69dbc7c10 [5.0.x] Fixed #35069 -- Fixed typo in docs/ref/forms/api.txt.
Backport of dc26a3d563 from main
2023-12-30 15:00:33 +01:00
Mohammad Yameen
c8274ecfe2 [5.0.x] Corrected method/function wording in tutorial 3.
Backport of bb560651c4 from main
2023-12-29 06:01:47 +01:00
virgitl.io
8480f2ec36 [5.0.x] Added backticks around name argument in tutorial 3.
Backport of acfdf39506 from main
2023-12-29 05:58:15 +01:00
Mariusz Felisiak
f33eddff8a [5.0.x] Corrected code-block directives in docs.
Backport of 0be6dde817 from main
2023-12-28 19:53:02 +01:00
Mariusz Felisiak
454269b2e1
[5.0.x] Updated asgiref dependency for 5.0 release series. 2023-12-28 09:46:34 +01:00
David D Lowe
7e3ba869a6 [5.0.x] Improved DEFAULT_FROM_EMAIL/SERVER_EMAIL docs.
Co-authored-by: nessita <124304+nessita@users.noreply.github.com>

Backport of 61aae838f7 from main
2023-12-28 09:44:37 +01:00
Mariusz Felisiak
9a182f3d95 [5.0.x] 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.
Backport of 751d732a38 from main
2023-12-27 20:37:23 +01:00
David Wobrock
9aad44150f [5.0.x] Fixed #35050 -- Fixed prefixing field names in FilteredRelation().
Thanks Mark Zorn for the report.

Regression in 59f4754704.

Backport of 14917c9ae2 from main
2023-12-23 18:33:07 +01:00
Mariusz Felisiak
42c31f867f [5.0.x] Fixed #35054 -- Fixed crash on Oracle when fetching JSONFields with oracledb 2.0.0.
Backport of 6c08dba517 from main
2023-12-22 09:44:34 +01:00
Nicolas Lupien
bc60b1e292 [5.0.x] Fixed #35015 -- Updated MySQL notes in migrations topic.
Backport of d4c583682e from main
2023-12-20 21:02:51 +01:00
Amin Shah Gilani
d8bff5adda [5.0.x] Doc'd that users with unusable passwords cannot request a password reset.
Backport of 47033bfd48 from main
2023-12-19 14:05:01 -03:00
Viicos
6bf8ca7b16 [5.0.x] Added missing import in docs/ref/models/expressions.txt.
Backport of e28bd6776d from main
2023-12-15 11:17:32 +01:00
Christian Clauss
ae35d5178b [5.0.x] Updated examples for 2.0+ release numbering in installation FAQ.
Backport of 0d5e9a32eb from main
2023-12-15 06:17:02 +01:00
David Sanders
58274bbd37 [5.0.x] 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>

Backport of acfc7e3a73 from main
2023-12-14 14:38:25 -03:00
Nanami
b73510902f [5.0.x] Fixed HTML code snippet in Tutorial's part 7 when customizing the admin's site header.
Backport of 5b52376d9f from main
2023-12-14 10:11:20 -03:00
Emanuel Andrecut
636d701ded [5.0.x] 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.

Backport of e72b2826ff from main
2023-12-14 10:31:36 +01:00
Tom Carrick
8b0710cfc9 [5.0.x] Fixed #35012 -- Restored wrapping admin fieldsets with multiple fields per line.
Thanks James Gillard for the report.

Regression in 729266c6f2.

Backport of 4aae864463 from main
2023-12-13 12:34:19 +01:00
Mariusz Felisiak
5f89da0837 [5.0.x] 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.

Backport of fcf95e5927 from main.
2023-12-12 05:41:38 +01:00
Sarah Boyce
03af8fbd0f [5.0.x] Fixed #35019 -- Fixed save() on models with both GeneratedFields and ForeignKeys.
Thanks Deb Kumar Das for the report.

Regression in f333e3513e.

Backport of b287af5dc9 from main
2023-12-08 12:09:56 +01:00
Yashas
6c992dc003 [5.0.x] Fixed #35016 -- Doc'd that DATABASES["OPTIONS"] are passed to new PostgreSQL connections.
Backport of eeb2119985 from main
2023-12-08 09:38:54 +01:00
Mariusz Felisiak
415a08a528 [5.0.x] 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.
Backport of 5b3b791e90 from main
2023-12-07 20:50:48 +01:00
Sarah Boyce
454fd50efb [5.0.x] Fixed #35020 -- Fixed ModelAdmin.lookup_allowed() for non-autofield primary keys.
Thanks Joshua Goodwin for the report.

Regression in 45ecd9acca.

Backport of f80669d2f5 from main
2023-12-07 08:44:59 +01:00
Mariusz Felisiak
da2475a217 [5.0.x] Added stub release notes for 4.2.9.
Backport of 464af0975c from main
2023-12-05 06:11:44 +01:00
Mariusz Felisiak
a1ddda7ac2 [5.0.x] Updated expected release date for 5.0.1.
Backport of 689306c745 from main
2023-12-05 06:03:44 +01:00
Natalia
cd4beb995c [5.0.x] Added stub release notes for 5.0.1.
Backport of 14884b6be8 from main
2023-12-04 10:23:51 -03:00
Natalia
a2b1b10f8b [5.0.x] Post-release version bump. 2023-12-04 10:16:11 -03:00
Natalia
617bcf611f [5.0.x] Bumped version for 5.0 release. 2023-12-04 10:01:51 -03:00
Natalia
94914b550d [5.0.x] Finalized release notes for Django 5.0.
Backport of 1994a26438 from main
2023-12-04 09:55:28 -03:00
Natalia
8e1b820fa1 [5.0.x] Updated translations from Transifex. 2023-12-04 08:17:21 -03:00
Mariusz Felisiak
e4d7cc3eae [5.0.x] Added release date for 4.2.8.
Backport of 8fcb9f1f10 from main
2023-12-04 09:25:37 +01:00
Peter Thomassen
cb013fc7d9 [5.0.x] Fixed #35002 -- Made UniqueConstraints with fields respect nulls_distinct.
Regression in 595a2abb58.

Backport of 54cb1a7e16 from main
2023-12-03 14:12:39 +01:00
Tom Carrick
6c502734a0 [5.0.x] Fixed #35001 -- Fixed position of related widget action icons in admin for some screen sizes.
Backport of dec8aa68f6 from main
2023-12-01 10:03:55 -03:00
Adrien
b8a476b745 [5.0.x] Improved wording in auth.models.User field docs.
Co-authored-by: Lily Foote <code@lilyf.org>

Backport of 79099a7ba4 from main
2023-12-01 11:28:37 +01:00