[Django] #36554: In TabularInline, the text is truncated when the object's __str__ is too long.

5 views
Skip to first unread message

Django

unread,
Aug 14, 2025, 11:04:46 PMAug 14
to django-...@googlegroups.com
#36554: In TabularInline, the text is truncated when the object's __str__ is too
long.
--------------------------+---------------------------------------------
Reporter: Antoliny | Type: Bug
Status: new | Component: contrib.admindocs
Version: 5.2 | Severity: Normal
Keywords: inline | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
--------------------------+---------------------------------------------
In TabularInline, there is an issue where the text gets cut off when the
object's __str__ is long.

[[Image(Screenshot 2025-08-15 at 11.56.30 AM.png)]]

The above image is fine because the screen is wide, but on a mobile
screen, the text gets cut off as shown below.

[[Image(Screenshot 2025-08-15 at 11.58.32 AM.png)]]

Recently, the font size of `TabularInline` was made the same as
`StackedInline`
https://github.com/django/django/commit/65377325855ab6faa7ac487e336e9902c6268c96,
resulting in a larger font than before.

As a result, the likelihood of this issue occurring has increased, and as
seen in the above image, links rendered via show_change_link are also cut
off, preventing the use of the features provided by default.
--
Ticket URL: <https://code.djangoproject.com/ticket/36554>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 14, 2025, 11:04:56 PMAug 14
to django-...@googlegroups.com
#36554: In TabularInline, the text is truncated when the object's __str__ is too
long.
-----------------------------------+--------------------------------------
Reporter: Antoliny | Owner: (none)
Type: Bug | Status: new
Component: contrib.admindocs | Version: 5.2
Severity: Normal | Resolution:
Keywords: inline | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-----------------------------------+--------------------------------------
Changes (by Antoliny):

* Attachment "Screenshot 2025-08-15 at 11.58.32 AM.png" added.

Django

unread,
Aug 14, 2025, 11:05:04 PMAug 14
to django-...@googlegroups.com
#36554: In TabularInline, the text is truncated when the object's __str__ is too
long.
-----------------------------------+--------------------------------------
Reporter: Antoliny | Owner: (none)
Type: Bug | Status: new
Component: contrib.admindocs | Version: 5.2
Severity: Normal | Resolution:
Keywords: inline | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-----------------------------------+--------------------------------------
Changes (by Antoliny):

* Attachment "Screenshot 2025-08-15 at 11.56.30 AM.png" added.

Django

unread,
Aug 14, 2025, 11:05:16 PMAug 14
to django-...@googlegroups.com
#36554: In TabularInline, the text is truncated when the object's __str__ is too
long.
-------------------------------+--------------------------------------
Reporter: Antoliny | Owner: (none)
Type: Bug | Status: new
Component: contrib.admin | Version: 5.2
Severity: Normal | Resolution:
Keywords: inline | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Changes (by Antoliny):

* component: contrib.admindocs => contrib.admin

--
Ticket URL: <https://code.djangoproject.com/ticket/36554#comment:1>

Django

unread,
Aug 14, 2025, 11:06:07 PMAug 14
to django-...@googlegroups.com
#36554: In TabularInline, the text is truncated when the object's __str__ is too
long.
-------------------------------+--------------------------------------
Reporter: Antoliny | Owner: (none)
Type: Bug | Status: new
Component: contrib.admin | Version: 5.2
Severity: Normal | Resolution:
Keywords: inline | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Changes (by Antoliny):

* Attachment "Screenshot 2025-08-15 at 11.56.30 AM.png" removed.

Django

unread,
Aug 14, 2025, 11:06:38 PMAug 14
to django-...@googlegroups.com
#36554: In TabularInline, the text is truncated when the object's __str__ is too
long.
-------------------------------+--------------------------------------
Reporter: Antoliny | Owner: (none)
Type: Bug | Status: new
Component: contrib.admin | Version: 5.2
Severity: Normal | Resolution:
Keywords: inline | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Description changed by Antoliny:

Old description:

> In TabularInline, there is an issue where the text gets cut off when the
> object's __str__ is long.
>
> [[Image(Screenshot 2025-08-15 at 11.56.30 AM.png)]]
>
> The above image is fine because the screen is wide, but on a mobile
> screen, the text gets cut off as shown below.
>
> [[Image(Screenshot 2025-08-15 at 11.58.32 AM.png)]]
>
> Recently, the font size of `TabularInline` was made the same as
> `StackedInline`
> https://github.com/django/django/commit/65377325855ab6faa7ac487e336e9902c6268c96,
> resulting in a larger font than before.
>
> As a result, the likelihood of this issue occurring has increased, and as
> seen in the above image, links rendered via show_change_link are also cut
> off, preventing the use of the features provided by default.

New description:

In TabularInline, there is an issue where the text gets cut off when the
object's __str__ is long.

[[Image(tabular_object_str.png)]]

The above image is fine because the screen is wide, but on a mobile
screen, the text gets cut off as shown below.

[[Image(Screenshot 2025-08-15 at 11.58.32 AM.png)]]

Recently, the font size of `TabularInline` was made the same as
`StackedInline`
https://github.com/django/django/commit/65377325855ab6faa7ac487e336e9902c6268c96,
resulting in a larger font than before.

As a result, the likelihood of this issue occurring has increased, and as
seen in the above image, links rendered via show_change_link are also cut
off, preventing the use of the features provided by default.

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

Django

unread,
Aug 14, 2025, 11:06:47 PMAug 14
to django-...@googlegroups.com
#36554: In TabularInline, the text is truncated when the object's __str__ is too
long.
-------------------------------+--------------------------------------
Reporter: Antoliny | Owner: (none)
Type: Bug | Status: new
Component: contrib.admin | Version: 5.2
Severity: Normal | Resolution:
Keywords: inline | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Changes (by Antoliny):

* Attachment "tabular_object_str.png" added.

Django

unread,
Aug 14, 2025, 11:07:08 PMAug 14
to django-...@googlegroups.com
#36554: In TabularInline, the text is truncated when the object's __str__ is too
long.
-------------------------------+--------------------------------------
Reporter: Antoliny | Owner: (none)
Type: Bug | Status: new
Component: contrib.admin | Version: 5.2
Severity: Normal | Resolution:
Keywords: inline | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------+--------------------------------------
Description changed by Antoliny:

Old description:

> In TabularInline, there is an issue where the text gets cut off when the
> object's __str__ is long.
>
> [[Image(tabular_object_str.png)]]
>
> The above image is fine because the screen is wide, but on a mobile
> screen, the text gets cut off as shown below.
>
> [[Image(Screenshot 2025-08-15 at 11.58.32 AM.png)]]
>
> Recently, the font size of `TabularInline` was made the same as
> `StackedInline`
> https://github.com/django/django/commit/65377325855ab6faa7ac487e336e9902c6268c96,
> resulting in a larger font than before.
>
> As a result, the likelihood of this issue occurring has increased, and as
> seen in the above image, links rendered via show_change_link are also cut
> off, preventing the use of the features provided by default.

New description:

In TabularInline, there is an issue where the text gets cut off when the
object's `__str__` is long.

[[Image(tabular_object_str.png)]]

The above image is fine because the screen is wide, but on a mobile
screen, the text gets cut off as shown below.

[[Image(Screenshot 2025-08-15 at 11.58.32 AM.png)]]

Recently, the font size of `TabularInline` was made the same as
`StackedInline`
https://github.com/django/django/commit/65377325855ab6faa7ac487e336e9902c6268c96,
resulting in a larger font than before.

As a result, the likelihood of this issue occurring has increased, and as
seen in the above image, links rendered via show_change_link are also cut
off, preventing the use of the features provided by default.

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