diff options
| author | Baptiste Mispelon <baptiste.mispelon@torchbox.com> | 2025-04-28 09:48:12 +0200 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-04-30 11:55:25 -0300 |
| commit | 66f9eb0ff1e7147406318c5ba609729678e4e6f6 (patch) | |
| tree | 37d90058e70e6276142fef6ec7a73d5baf6cb666 /docs/releases | |
| parent | 07100db6f46255ec6ef70b860495f977473684d6 (diff) | |
Fixed #36357 -- Skipped unique_together in inspectdb output for composite primary keys.
Thanks to Baptiste Mispelon for the report and quick fix, and to Simon
Charette and Jacob Walls for the reviews.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/5.2.1.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/5.2.1.txt b/docs/releases/5.2.1.txt index 8ec4d58a92..67244c590f 100644 --- a/docs/releases/5.2.1.txt +++ b/docs/releases/5.2.1.txt @@ -59,3 +59,7 @@ Bugfixes * Fixed a bug in composite primary key introspection that caused ``IntegerField`` to be wrongly identified as ``AutoField`` on SQLite (:ticket:`36358`). + +* Fixed a bug in Django 5.2 that caused a redundant ``unique_together`` + constraint to be generated for composite primary keys when using + :djadmin:`inspectdb` (:ticket:`36357`). |
