gruppenbug
This commit is contained in:
parent
abb974d0bc
commit
a8e3779a2c
|
|
@ -224,7 +224,8 @@ def NCAddUser(request):
|
|||
groups.append(AgencyGroup.objects.get(group=g).nc_name)
|
||||
|
||||
# Die gruppe Mitarbeiter holen und ebenfalls hinzufügen
|
||||
#ag_mitarbeiter = AgencyGroup.objects.filter(agency=user.profile.agency, agencygroupname="Mitarbeiter").first().nc_name
|
||||
ag_mitarbeiter = AgencyGroup.objects.filter(agency=user.profile.agency, agencygroupname="Mitarbeiter").first()
|
||||
ag_mitarbeiter.group.user_set.add(user)
|
||||
|
||||
groups.append("agencymaingroupid_" + str(user.profile.agency.pk))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue