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
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,
>
>
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
3 matches
Mail list logo