Re: Many-to-Many to exists table

2008-12-03 Thread nucles
Thank you Thomas for your feedback! We need a Many-To-Many Relation not to "group", but to "user_auth_group". I try to draw the desirable result: user --- user_auth_group group | | user_auth_group_area

Re: Many-to-Many to exists table

2008-12-02 Thread Thomas Guettler
If I understood you problem: {{{ from django.contrib.auth.models import Group class Area(models.Model): groups=models.ManyToManyField(Group) }}} This creates a Many-To-May relation to Group. Copied from brain to keyboard (untested) HTH, Thomas nucles schrieb: > Hello Django-People, > >

Many-to-Many to exists table

2008-12-02 Thread nucles
Hello Django-People, we use the embedded functionality of the user authentication in Django. We use folowing models: "user", "auth_group", "auth_user_group" and other embedded models that does not matter in this context. We would like to add the additional entity "area" with M-to-M relation to