Can you give some more details on how to implement this in django, how
to use it with the admin interface?


mamcxyz wrote:
> I don't think my code is usefull for you... I build the tree from a
> list like:
>
> ['uno\dos\tres','dos\tres\cuatro','pepe\papa\pepa']
>
> However the API of elementree es very simple.
>
> A good trick is build a map of son and parents. This way:
>
> self.parent_map = dict((c, p) for p in tree.getiterator() for c in p)


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to