[Django] #36187: Add support for CompositePrimaryKey in SingleObjectMixin

18 views
Skip to first unread message

Django

unread,
Feb 13, 2025, 11:46:53 AMFeb 13
to django-...@googlegroups.com
#36187: Add support for CompositePrimaryKey in SingleObjectMixin
-------------------------------+-----------------------------------------
Reporter: Clifford Gama | Type: Uncategorized
Status: new | Component: Uncategorized
Version: 5.1 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-----------------------------------------
[https://forum.djangoproject.com/t/add-native-support-for-
compositeprimarykey-in-singleobjectmixin/38715/1 Opened a forum
discussion]. While the implementation proposal has been rejected in the
forum in favour of proposal in #35953, SingleObjectMixin is still
overlooked and I am opening this ticket for that.
--
Ticket URL: <https://code.djangoproject.com/ticket/36187>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 13, 2025, 11:47:30 AMFeb 13
to django-...@googlegroups.com
#36187: Add support for CompositePrimaryKey in SingleObjectMixin
-------------------------------+--------------------------------------
Reporter: Clifford Gama | Owner: (none)
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 5.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by Clifford Gama):

Replying to [ticket:36187 Clifford Gama]:
> [https://forum.djangoproject.com/t/add-native-support-for-
compositeprimarykey-in-singleobjectmixin/38715/1 Opened a forum
discussion]. While the implementation proposal has been rejected in the
forum in favour of proposal in #35953, SingleObjectMixin is still
overlooked for CPK and I am opening this ticket for that.
--
Ticket URL: <https://code.djangoproject.com/ticket/36187#comment:1>

Django

unread,
Feb 13, 2025, 11:48:52 AMFeb 13
to django-...@googlegroups.com
#36187: Add support for CompositePrimaryKey in SingleObjectMixin
-------------------------------------+-------------------------------------
Reporter: Clifford Gama | Owner: (none)
Type: New feature | Status: new
Component: Generic views | Version: 5.1
Severity: Normal | Resolution:
Keywords: CompositePrimaryKey | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Clifford Gama):

* component: Uncategorized => Generic views
* keywords: => CompositePrimaryKey
* type: Uncategorized => New feature


Old description:

> [https://forum.djangoproject.com/t/add-native-support-for-
> compositeprimarykey-in-singleobjectmixin/38715/1 Opened a forum
> discussion]. While the implementation proposal has been rejected in the
> forum in favour of proposal in #35953, SingleObjectMixin is still
> overlooked and I am opening this ticket for that.

New description:

[https://forum.djangoproject.com/t/add-native-support-for-
compositeprimarykey-in-singleobjectmixin/38715/1 Opened a forum
discussion]. While the implementation proposal has been rejected in the
forum in favour of proposal in #35953, SingleObjectMixin is still
overlooked for CPKs and I am opening this ticket for that.

--
--
Ticket URL: <https://code.djangoproject.com/ticket/36187#comment:2>

Django

unread,
Feb 14, 2025, 2:32:20 AMFeb 14
to django-...@googlegroups.com
#36187: Add support for CompositePrimaryKey in SingleObjectMixin
-------------------------------------+------------------------------------
Reporter: Clifford Gama | Owner: (none)
Type: New feature | Status: new
Component: Generic views | Version: dev
Severity: Normal | Resolution:
Keywords: CompositePrimaryKey | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+------------------------------------
Changes (by Sarah Boyce):

* stage: Unreviewed => Accepted
* version: 5.1 => dev

--
Ticket URL: <https://code.djangoproject.com/ticket/36187#comment:3>

Django

unread,
Feb 17, 2025, 5:17:34 AMFeb 17
to django-...@googlegroups.com
#36187: Add support for CompositePrimaryKey in SingleObjectMixin
-------------------------------------+------------------------------------
Reporter: Clifford Gama | Owner: (none)
Type: New feature | Status: new
Component: Generic views | Version: dev
Severity: Normal | Resolution:
Keywords: CompositePrimaryKey | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+------------------------------------
Comment (by Antoliny):

Cliff, Can I work on this ticket? 😃
--
Ticket URL: <https://code.djangoproject.com/ticket/36187#comment:4>

Django

unread,
Feb 17, 2025, 5:34:22 AMFeb 17
to django-...@googlegroups.com
#36187: Add support for CompositePrimaryKey in SingleObjectMixin
-------------------------------------+------------------------------------
Reporter: Clifford Gama | Owner: jengziyi
Type: New feature | Status: assigned
Component: Generic views | Version: dev
Severity: Normal | Resolution:
Keywords: CompositePrimaryKey | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+------------------------------------
Changes (by jengziyi):

* owner: (none) => jengziyi
* status: new => assigned

Comment:

I would like to give this ticket a try!
--
Ticket URL: <https://code.djangoproject.com/ticket/36187#comment:5>

Django

unread,
Aug 20, 2025, 12:32:23 PMAug 20
to django-...@googlegroups.com
#36187: Add support for CompositePrimaryKey in SingleObjectMixin
-------------------------------------+-------------------------------------
Reporter: Clifford Gama | Owner:
| JaeHyuckSa
Type: New feature | Status: assigned
Component: Generic views | Version: dev
Severity: Normal | Resolution:
Keywords: CompositePrimaryKey | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by JaeHyuckSa):

* owner: jengziyi => JaeHyuckSa

--
Ticket URL: <https://code.djangoproject.com/ticket/36187#comment:6>

Django

unread,
Aug 23, 2025, 2:17:10 PMAug 23
to django-...@googlegroups.com
#36187: Add support for CompositePrimaryKey in SingleObjectMixin
-------------------------------------+-------------------------------------
Reporter: Clifford Gama | Owner:
| JaeHyuckSa
Type: New feature | Status: assigned
Component: Generic views | Version: dev
Severity: Normal | Resolution:
Keywords: CompositePrimaryKey | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by JaeHyuckSa):

* has_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36187#comment:7>

Django

unread,
Aug 24, 2025, 2:27:27 PMAug 24
to django-...@googlegroups.com
#36187: Add support for CompositePrimaryKey in SingleObjectMixin
-------------------------------------+-------------------------------------
Reporter: Clifford Gama | Owner:
| JaeHyuckSa
Type: New feature | Status: assigned
Component: Generic views | Version: dev
Severity: Normal | Resolution:
Keywords: CompositePrimaryKey | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Clifford Gama):

* needs_better_patch: 0 => 1
* needs_docs: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36187#comment:8>

Django

unread,
Aug 25, 2025, 12:12:21 PMAug 25
to django-...@googlegroups.com
#36187: Add support for CompositePrimaryKey in SingleObjectMixin
-------------------------------------+-------------------------------------
Reporter: Clifford Gama | Owner:
| JaeHyuckSa
Type: New feature | Status: assigned
Component: Generic views | Version: dev
Severity: Normal | Resolution:
Keywords: CompositePrimaryKey | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by JaeHyuckSa):

* needs_better_patch: 1 => 0
* needs_docs: 1 => 0

--
Ticket URL: <https://code.djangoproject.com/ticket/36187#comment:9>

Django

unread,
Sep 1, 2025, 7:19:39 AM (9 days ago) Sep 1
to django-...@googlegroups.com
#36187: Add support for CompositePrimaryKey in SingleObjectMixin
-------------------------------------+-------------------------------------
Reporter: Clifford Gama | Owner:
| JaeHyuckSa
Type: New feature | Status: assigned
Component: Generic views | Version: dev
Severity: Normal | Resolution:
Keywords: CompositePrimaryKey | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Clifford Gama):

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36187#comment:10>

Django

unread,
Sep 1, 2025, 12:47:50 PM (8 days ago) Sep 1
to django-...@googlegroups.com
#36187: Add support for CompositePrimaryKey in SingleObjectMixin
-------------------------------------+-------------------------------------
Reporter: Clifford Gama | Owner:
| JaeHyuckSa
Type: New feature | Status: assigned
Component: Generic views | Version: dev
Severity: Normal | Resolution:
Keywords: CompositePrimaryKey | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by JaeHyuckSa):

* needs_better_patch: 1 => 0

--
Ticket URL: <https://code.djangoproject.com/ticket/36187#comment:11>

Django

unread,
Sep 8, 2025, 5:32:09 AM (yesterday) Sep 8
to django-...@googlegroups.com
#36187: Add support for CompositePrimaryKey in SingleObjectMixin
-------------------------------------+-------------------------------------
Reporter: Clifford Gama | Owner:
| JaeHyuckSa
Type: New feature | Status: assigned
Component: Generic views | Version: dev
Severity: Normal | Resolution:
Keywords: CompositePrimaryKey | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Clifford Gama):

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36187#comment:12>
Reply all
Reply to author
Forward
0 new messages