displaying fields through foreign key tables

9 views
Skip to first unread message

mansi thakkar

unread,
Mar 28, 2018, 11:09:12 AM3/28/18
to Django users
Hello, 

In a django admin site, I am trying to display the attribute of an element that is not part of the element, but instead is linked by a foreign key.

For example, I have a Product that is part of a Product Line that is part of a Brand that is part of a Company. I want to display the name of the Company when I go to inspect a Product.

Please reply me as soon as possible. 

Thank you. 
IMG_3368.jpg
Reply all
Reply to author
Forward
0 new messages