I want design a group that can contain other groups, and one group can
belong many groups.

I write such code below, but not right.

class Group(models.Model):
    groups = models.ManyToManyField(Group)

any suggestion?

or how to design such a group.

thanks.

-- 
A man live in jail and want to break.
http://blog.khsing.net

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to