Re: Recursive relationship - two models, same table

2008-10-05 Thread AndyB
Well the admin *already* does lots of things it 'was never intended to do'. Why have devs gone to all the effort of adding extra customization hooks if extending the admin was such a fools errand? :) To my mind the more versatile the admin gets the better it is for Django. Yes - there is a poin

Re: Recursive relationship - two models, same table

2008-10-04 Thread Steve Holden
Will Temperley wrote: > Hi All > > I have a load of Institutions, some with departments, some not. So I > created a model that can represent this simple hierarchy. See models > at the bottom. > > Fine, but a bit confusing for users, plus if the user just wants to > deal with Institutions alone in

Recursive relationship - two models, same table

2008-10-01 Thread Will Temperley
Hi All I have a load of Institutions, some with departments, some not. So I created a model that can represent this simple hierarchy. See models at the bottom. Fine, but a bit confusing for users, plus if the user just wants to deal with Institutions alone in the admin, they're faced with insti