Skip to content
Snippets Groups Projects
Commit e76d395b authored by Martin Mareš's avatar Martin Mareš
Browse files

Editace kola: Kód kola "" se překládá na seq

parent 7bd31faf
No related branches found
No related tags found
1 merge request!108Dávkové zakládání soutěží podle předchozího kola
......@@ -439,6 +439,8 @@ def org_round_edit(round_id: int):
del form.enroll_mode
if form.validate_on_submit():
form.populate_obj(round)
if round.code == "":
round.code = str(round.seq)
if sess.is_modified(round):
changes = db.get_object_changes(round)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment