Skip to content

Document how it works in multi-table inheritance #8

Description

@pakal

When doing multi-table inheritance in Django, it works fine to have "changesets" manager only on the parent table, but each of the children models must specify the "track_fields" and "track_related" in its own Meta attribute.

Possibly copying+extending "ParentClass_meta.track_fields" to be DRY

Maybe it's worth noting it somewhere in docs, in case other people stumble on this (field changes were not tracked, as a result).

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions