Skip to content

PolymorphicChildModelAdmin list displays base model of foreignkey fields #158

@variable

Description

@variable

I am aware of the polymorphic_list field in the PolymorphicParentModelAdmin, but I am using PolymorphicChildModelAdmin, and I am wondering if it's possible to display the relationship field to it's child class.

e.g


class Vote(Model):
  #  item can be "Content", "User" which extends "Trackable"
  item = Trackable(..)

When I display the admin list, the item is always displayed as "Trackable"

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions