You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For simple fields, we can use Column.info for attaching FA-related metdata to columns. For ManyToOne fields, we can change info for related ForeignKey column. But for ManyToMany fields, there is not a simple way.
For simple fields, we can use
Column.info
for attaching FA-related metdata to columns. For ManyToOne fields, we can changeinfo
for related ForeignKey column. But for ManyToMany fields, there is not a simple way.Suppose this schema: (simple ManyToMany relation)
We want to change ManyToMany renderer by adding
info={'renderer: ...}
keyword argument for aColumn
, but which Column?The right Column should be one of columns in intermediate table(
model_items
), but adding this doesn't work for either of those two columns.Default implementation of
AttributeField.info()
only checksinfo
attribute ofItem.id
which is not sufficient.The text was updated successfully, but these errors were encountered: