Re: displaying tree data in admin

2009-10-15 Thread ev
Thank you, Daniel, I'm trying to use this: http://magicrebirth.wordpress.com/2009/08/18/django-admin-and-mptt-2/ On Oct 15, 12:09 pm, Daniel Roseman wrote: > On Oct 15, 8:16 am, ev wrote: > > > May be there were developers solutions? Where should I look for? > > Look at the django-mptt project.

Re: displaying tree data in admin

2009-10-15 Thread Daniel Roseman
On Oct 15, 8:16 am, ev wrote: > May be there were developers solutions? Where should I look for? > Look at the django-mptt project. It implements an efficient algorithm for tree access, and also has some useful libraries that help with displaying trees. You might be able to use one of them. Alt

Re: displaying tree data in admin

2009-10-15 Thread ev
May be there were developers solutions? Where should I look for? On Oct 15, 9:18 am, Михаил Лукин wrote: > There is no sucj feature in admin interface > > On Wed, Oct 14, 2009 at 9:18 PM, ev wrote: > > > I've created model Structure referenced to itself and filled it with > > my data. > > > cla

Re: displaying tree data in admin

2009-10-14 Thread Михаил Лукин
There is no sucj feature in admin interface On Wed, Oct 14, 2009 at 9:18 PM, ev wrote: > > I've created model Structure referenced to itself and filled it with > my data. > > class Structure(models.Model): >parent=models.ForeignKey('self', blank=True, null=True, > related_name='child_set

displaying tree data in admin

2009-10-14 Thread ev
I've created model Structure referenced to itself and filled it with my data. class Structure(models.Model): parent=models.ForeignKey('self', blank=True, null=True, related_name='child_set') title=models.CharField(max_length=100) Default admin interface shows my data as a plain l