Browse Source

typo2

middleware_test
MaM Web user 3 years ago
parent
commit
748bfc0877
  1. 2
      seminar/views/views_all.py

2
seminar/views/views_all.py

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

Loading…
Cancel
Save