Re: showing an attribute of a foreign key in admin

2011-08-16 Thread i...@webbricks.co.uk
thanks tracy, i'd tried something very similar to Daniels method and failed, but your code worked first time. On Aug 15, 12:36 pm, Karen Tracey wrote: > On Mon, Aug 15, 2011 at 4:51 AM, i...@webbricks.co.uk > wrote: > > > > > > > > > > > > > I want to

Re: showing an attribute of a foreign key in admin

2011-08-15 Thread Karen Tracey
On Mon, Aug 15, 2011 at 4:51 AM, i...@webbricks.co.uk wrote: > > I want to display the Level of the Category that the product belongs > to, in the admin page for the Product. snipped a lot of the > unimportant fields out of the display below. > > class

Re: showing an attribute of a foreign key in admin

2011-08-15 Thread Daniel Roseman
I've answered your query there: http://stackoverflow.com/questions/7009010/how-to-display-an-attribute-of-a-foreign-key-in-django-admin-page/7063318#7063318 -- DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the

showing an attribute of a foreign key in admin

2011-08-15 Thread i...@webbricks.co.uk
copied and pasted from stackoverflow, since i didnt get an answer in a week and i just can't believe its not possible. I want to display the Level of the Category that the product belongs to, in the admin page for the Product. snipped a lot of the unimportant fields out of the display below.