|
|
@ -4,7 +4,6 @@ import datetime |
|
|
|
|
|
|
|
from django.contrib.auth.models import Permission |
|
|
|
from django.contrib.auth.models import Group |
|
|
|
from pytz import timezone |
|
|
|
import random |
|
|
|
import lorem |
|
|
|
import django.contrib.auth |
|
|
@ -177,13 +176,13 @@ def gen_organizatori(rnd, osoby, last_rocnik): |
|
|
|
year=1993 + pusobnost, |
|
|
|
month=rnd.randint(1, 12), |
|
|
|
day=rnd.randint(1, 28), |
|
|
|
tzinfo=timezone('CET'), |
|
|
|
tzinfo=datetime.timezone.utc, |
|
|
|
) |
|
|
|
do = datetime.datetime( |
|
|
|
year=od.year + rnd.randint(1, 6), |
|
|
|
month=rnd.randint(1, 12), |
|
|
|
day=rnd.randint(1, 28), |
|
|
|
tzinfo=timezone('CET'), |
|
|
|
tzinfo=datetime.timezone.utc, |
|
|
|
) |
|
|
|
#aktualni organizatori jeste nemaji vyplnene organizuje_do |
|
|
|
|
|
|
|