Repository navigation
v0.22.4 - ER view and hover cards show fields from abstract base models
ER view and hover cards show fields from abstract base models.
Fixed
- ER diagrams,
scanand hover cards show fields from abstract bases
(#354).
They used to draw only what a class body declares, so on django-oscar 87
of 98 models showed 0 fields, and the ER diagram had 4 relations instead
of 117. Wagtail went from 52 to 138. Every output that describes the table
(scan -f table|markdown,erin all five formats, the extension's ER
view and hover) now includes the columns and relations an abstract base
contributes. The JSONfieldslist and the sidebar tree still list only
declared fields. Mermaid labels also dropas _forrelated_name="+",
which turns the reverse accessor off, and thescan -f tablefile column
is relative to the working directory instead of an absolute path.