[Django] #36178: Add quote consistency for object str emphasis in admin delete confirmation messages.

10 views
Skip to first unread message

Django

unread,
Feb 9, 2025, 7:53:06 AM2/9/25
to django-...@googlegroups.com
#36178: Add quote consistency for object str emphasis in admin delete confirmation
messages.
--------------------------+------------------------------------------------
Reporter: Antoliny | Type: Cleanup/optimization
Status: new | Component: contrib.admin
Version: 5.1 | Severity: Normal
Keywords: delete | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------+------------------------------------------------
There is a confirmation message when removing a specific object on the
Admin page.
Currently, there are three types of confirmation messages depending on the
permissions and on_delete values like this..
[[Image(delete_confirmation_message.png)]]
As shown in the highlighted part of the image above, single quotes and
double quotes are used to emphasize the str object.
I think it would be better to use either single double quotes or quotes
consistently for uniformity(I think use double quotes is better).
--
Ticket URL: <https://code.djangoproject.com/ticket/36178>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 9, 2025, 7:53:10 AM2/9/25
to django-...@googlegroups.com
#36178: Add quote consistency for object str emphasis in admin delete confirmation
messages.
-------------------------------------+-------------------------------------
Reporter: Antoliny | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: contrib.admin | Version: 5.1
Severity: Normal | Resolution:
Keywords: delete | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Antoliny):

* Attachment "delete_confirmation_message.png" added.

Django

unread,
Feb 9, 2025, 7:53:48 AM2/9/25
to django-...@googlegroups.com
#36178: Add quote consistency for object str emphasis in admin delete confirmation
messages.
-------------------------------------+-------------------------------------
Reporter: Antoliny | Owner: Antoliny
Type: | Status: assigned
Cleanup/optimization |
Component: contrib.admin | Version: 5.1
Severity: Normal | Resolution:
Keywords: delete | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Antoliny):

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

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