Skip to content

Create and use objects of the parent model type directly. #138

@mrmachine

Description

@mrmachine

I might be missing something, but it seems like the parent model cannot be created and used directly in the admin. You MUST have at least one child model and you can ONLY create child models in the admin?

What if your parent model is a completely functional base type, and child models are additional and optional? I don't want to create a concrete child subclass just so I can create and edit it in the admin, when it does not require any additional fields.

The very first thing I see in the docs is an example of this, where Project appears to be functional on its own, with ArtProject and ResearchProject as subclasses. But these models are not used in the admin integration docs, and the example given uses generic ModelA, ModelB and ModelC where only ModelB and ModelC can be created and edited in the admin?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions