|
@ -199,7 +199,7 @@ def gen_organizatori(rnd, osoby, last_rocnik): |
|
|
x += 1 |
|
|
x += 1 |
|
|
os.user = user |
|
|
os.user = user |
|
|
os.save() |
|
|
os.save() |
|
|
os.user.user_permissions.add(org_perm) |
|
|
os.user.user_permissions.add(org_perm) |
|
|
organizatori.append(Organizator.objects.create(osoba=os, |
|
|
organizatori.append(Organizator.objects.create(osoba=os, |
|
|
organizuje_od=od, organizuje_do=do, strucny_popis_organizatora = popis_orga)) |
|
|
organizuje_od=od, organizuje_do=do, strucny_popis_organizatora = popis_orga)) |
|
|
return organizatori |
|
|
return organizatori |
|
|