|
@ -112,7 +112,6 @@ def gen_organizatori(rnd, osoby, last_rocnik, users): |
|
|
if do > datetime.datetime.now().year: |
|
|
if do > datetime.datetime.now().year: |
|
|
do = None |
|
|
do = None |
|
|
organizatori.append(Organizator.objects.create(osoba=os, |
|
|
organizatori.append(Organizator.objects.create(osoba=os, |
|
|
user=rnd.choice(users), |
|
|
|
|
|
organizuje_od=od, organizuje_do=do)) |
|
|
organizuje_od=od, organizuje_do=do)) |
|
|
return organizatori |
|
|
return organizatori |
|
|
|
|
|
|
|
|