Loglevel
This commit is contained in:
parent
614d795b6a
commit
325cb73cd4
1 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ def uloha_to_Uloha(apps,schema_editor):
|
|||
|
||||
ulohy = Problem.objects.filter(typ = 'uloha')
|
||||
for uold in ulohy:
|
||||
logger.debug('u')
|
||||
logger.info('u')
|
||||
unew = Uloha.objects.create(
|
||||
problem_ptr = uold,
|
||||
# Zakomentované fieldy by se už měly nacházet v příslušném problému
|
||||
|
@ -87,7 +87,7 @@ def clanek_to_Clanek(apps,schema_editor):
|
|||
|
||||
clanky = Problem.objects.filter(Q(typ='org-clanek') | Q(typ='res-clanek'))
|
||||
for cl in clanky:
|
||||
logger.debug('c')
|
||||
logger.info('c')
|
||||
# Vybereme vhodné číslo pro článek z čísla zadání a čísla řešení:
|
||||
if cl.cislo_zadani_old is None:
|
||||
cislo = cl.cislo_reseni_old
|
||||
|
@ -126,7 +126,7 @@ def tema_to_Tema(apps, schema_editor):
|
|||
|
||||
temata = Problem.objects.filter(Q(typ = 'tema') | Q(typ='serial'))
|
||||
for t in temata:
|
||||
logger.debug('t')
|
||||
logger.info('t')
|
||||
# Vymyslíme správně ročník:
|
||||
if t.cislo_zadani_old is None and t.cislo_reseni_old is None:
|
||||
rocnik = None
|
||||
|
|
Loading…
Reference in a new issue