I want to display the level field of the category to which the product is related on the object\'s admin page.
category
product
class Category(m
In your admin.py file
class ProductAdmin(admin.ModelAdmin): list_display = ('name', 'category__level', 'category') admin.site.register(Product, ProductAdmin)
Try this.............