Fix user o nemá být řešitel
This commit is contained in:
parent
1ca024835c
commit
2b1691cbe1
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ def gen_organizatori(rnd, osoby, last_rocnik):
|
|||
x += 1
|
||||
os.user = user
|
||||
os.save()
|
||||
os.user.user_permissions.add(org_perm)
|
||||
os.user.user_permissions.add(org_perm)
|
||||
organizatori.append(Organizator.objects.create(osoba=os,
|
||||
organizuje_od=od, organizuje_do=do, strucny_popis_organizatora = popis_orga))
|
||||
return organizatori
|
||||
|
|
Loading…
Reference in a new issue