|
|
@ -474,15 +474,15 @@ def get_text(): |
|
|
|
|
|
|
|
def gen_dlouhe_tema(rnd, organizatori, rocnik, nazev, obor, kod): |
|
|
|
tema = Tema.objects.create( |
|
|
|
nazev=nazev, |
|
|
|
stav=Problem.STAV_ZADANY, |
|
|
|
zamereni="M", |
|
|
|
autor=rnd.choice(organizatori), |
|
|
|
garant=rnd.choice(organizatori), |
|
|
|
kod=str(kod), |
|
|
|
tema_typ=rnd.choice(Tema.TEMA_CHOICES)[0], |
|
|
|
rocnik=rocnik, |
|
|
|
abstrakt = lorem.paragraph() |
|
|
|
nazev=nazev, |
|
|
|
stav=Problem.STAV_ZADANY, |
|
|
|
zamereni="M", |
|
|
|
autor=rnd.choice(organizatori), |
|
|
|
garant=rnd.choice(organizatori), |
|
|
|
kod=str(kod), |
|
|
|
tema_typ=rnd.choice(Tema.TEMA_CHOICES)[0], |
|
|
|
rocnik=rocnik, |
|
|
|
abstrakt = lorem.paragraph() |
|
|
|
) |
|
|
|
|
|
|
|
# Generování struktury k tématu |
|
|
|