This commit is contained in:
MaM Web user 2021-09-02 15:56:24 +02:00
parent 067c3cf3ae
commit 748bfc0877

View file

@ -1190,7 +1190,7 @@ def prihlaskaView(request):
resitel_perm = Permission.objects.filter(codename__exact='resitel').first()
u.user_permissions.add(resitel_perm)
resitel_grp = Group.objects.filter(name__exact='resitel').first()
u.user_groups.add(resitel_grp)
u.groups.add(resitel_grp)
o = Osoba(
jmeno = fcd['jmeno'],