Thanks Peter ! But I don't want to use these, I want to know how to
realize it, maybe I have to refer to them.
On May 20, 5:59 pm, Peter Bengtsson wrote:
> There are much more efficient tree implementation made available for
> Django.https://tabo.pe/projects/django-treebeard/
> A much better place to start.
>
> On 20 May, 07:06, Danfi wrote:
>
>
>
> > Hi,
> > In my models, I use "parent = models.ForeignKey('self', blank = True,
> > null = True) " create a Folder tree
> > like :
> > A
> > -a1
> > -a2
> > --a21
> > --a211
> > --a22
> > B
> > -b1
>
> > and I use the "parent" as list_filter ,but I get a problem , when I
> > click 'a1' ,it only show the information in a1,
> > but I want it also show its childrens' information . For example ,
> > when I click a21,It can show the informations in
> > a21 and a211.Do anyone have any idea?
> > Thanks!
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to django-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > django-users+unsubscr...@googlegroups.com.
> > For more options, visit this group
> > athttp://groups.google.com/group/django-users?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group
> athttp://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.