Enable sub properties of relationships to appear as columns #307
Unanswered
samearcher
asked this question in
Q&A
Replies: 1 comment
-
Facing the same issue here in 2024, it seems this is impossible with starlette-admin. I had Django background and still looking for any Admin plugin that can assist fill this gap |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a relationship, "mat_class" of my table, "A1_A3_Data", as follows:
This is in relationship (Many to one) with the Material_Class table:
I'd like to be able to display (and sort) a column representing the mat_class description field as follows:
At the moment this gives the following error:
AttributeError: Neither 'InstrumentedAttribute' object nor 'Comparator' object associated with A1_A3_Data.mat_class has an attribute 'description'
I think this is because it's referencing the Class rather than the instances of the class?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions