typo
This commit is contained in:
parent
7b95ea9f89
commit
067c3cf3ae
1 changed files with 1 additions and 1 deletions
|
@ -1189,7 +1189,7 @@ def prihlaskaView(request):
|
|||
u.save()
|
||||
resitel_perm = Permission.objects.filter(codename__exact='resitel').first()
|
||||
u.user_permissions.add(resitel_perm)
|
||||
resitel_grp = Group.objects.filter(codename__exact='resitel').first()
|
||||
resitel_grp = Group.objects.filter(name__exact='resitel').first()
|
||||
u.user_groups.add(resitel_grp)
|
||||
|
||||
o = Osoba(
|
||||
|
|
Loading…
Reference in a new issue