On Mon, Oct 6, 2008 at 7:52 AM, Matrixer <[EMAIL PROTECTED]> wrote:

>
> in django, it's not allowed to create an intermediary model, when
> 'symmetrical' is set to True in this kind of many-to-many
> relationship, then how to add more information for the relationship,
> is there any good solutions for this, or do I have to use the
> unsymemtrical one instead and do some extra work for it.
>
>
(This is the 2nd time you've sent essentially the same message to this list
twice in the span of a few minutes. As a result people may well spend time
answering one copy and only later realize someone else answered the other
one.  So please only send one copy and wait a reasonable interval for
responses before resending.)

Per the docs (
http://docs.djangoproject.com/en/dev/topics/db/models/#extra-fields-on-many-to-many-relationships),
yes you must use symmetrical=False when defining a many-to-many relationship
from a model to itself, using an intermediary model.  That's a pretty clear
statement and I don't see any escape clause.  What extra work, exactly, does
that mean for you?  A concrete example may people understand what problem
this introduces for you.

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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