Create a custom table column for ContentType foreign keys #4674

Closed
opened 2025-12-29 19:19:22 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Mar 17, 2021).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Introduce a new ContentTypeColumn table column class to be used for the representation of foreign key fields to the ContentType model (e.g. when viewing a change log).

Justification

Ensures the clean, consistent display of content types. For example, this would display Virtual machine instead of virtualization | virtual machine.

Originally created by @jeremystretch on GitHub (Mar 17, 2021). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Introduce a new ContentTypeColumn table column class to be used for the representation of foreign key fields to the ContentType model (e.g. when viewing a change log). ### Justification Ensures the clean, consistent display of content types. For example, this would display `Virtual machine` instead of `virtualization | virtual machine`.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 19:19:22 +01:00
adam closed this issue 2025-12-29 19:19:22 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4674