Skip to content

fix: skip fields from inherited model#28

Open
ad-m-ss wants to merge 1 commit into
vanadium23:masterfrom
selectstar:feature/upstream-django-db-comments-changes-3/sc-121708
Open

fix: skip fields from inherited model#28
ad-m-ss wants to merge 1 commit into
vanadium23:masterfrom
selectstar:feature/upstream-django-db-comments-changes-3/sc-121708

Conversation

@ad-m-ss

@ad-m-ss ad-m-ss commented Sep 15, 2025

Copy link
Copy Markdown

Enable support for Django model inheritance: https://docs.djangoproject.com/en/5.2/topics/db/models/#multi-table-inheritance

When using multi-table inheritance each model corresponds to its own database table and can be queried and created individually. The inheritance relationship introduces links between the child model and each of its parents (via an automatically-created OneToOneField). Fields from the upstream model are available in the downstream model, but in the database they are stored in a separate table, so they require additional support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant