Hi,

I'm wrtting a small web site with a limited number of apps and tables.
Almost all my models can easely be managed throught the automatic
django admin interface.

I changed some minors points of the some change_form by subclassing
the original ones and adding extra content in some usable blocks.

I'm still stucked with one of my model class which implements a basic
tree of data.

The default list view will present a list of entries sorted
accordingly to the sorting attr defined in the Meta class but this is
a "flat" list of records.

I would like to be able to :

- Present each list view with respect to the ordering attr but also
limited to a certain subset of the records (that is to say only one
level at a time).

- Move the add button on each row to be able to add a child to the
node

- Add an edit button on each row

- Change the default link on each row to only present the list of
children

This sounds almost to specific to be able to do it with minor changes
(block replacement and so on) in a custom admin view.

I'm sure there's an elegant way to do this. I'm also sure that I'm not
the first one trying to manage trees from within Django's admin
site :

So do you have any pointers or solutions ?

Regards,

Laurent


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to