Hi,

I am looking at a decent way to represent a directional many to many relation 
with a legacy database.
Currently, I have a class Person with a parents / children relation on itself.
The many to many table has a parent and a child column. There is no id field.
Up to now, I have used this snippet: http://www.djangosnippets.org/snippets/962/
However, I just found that it does only work in one way. I do have both 
children and parents with no distinction.

Does anybody has an idea of how to overcome the fact that the relation 
direction matters ?

Regards,
Xavier Ordoquy.

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

Reply via email to