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

Velké uploady podporujeme i u skenů

parent edd3b0eb
No related branches found
No related tags found
No related merge requests found
...@@ -1960,6 +1960,7 @@ def org_contest_scans(ct_id: int, site_id: Optional[int] = None): ...@@ -1960,6 +1960,7 @@ def org_contest_scans(ct_id: int, site_id: Optional[int] = None):
setattr(PSF, f'task_{t.task_id}', wtforms.BooleanField(t.code, default=True)) setattr(PSF, f'task_{t.task_id}', wtforms.BooleanField(t.code, default=True))
tasks_map[t.task_id] = t tasks_map[t.task_id] = t
request.custom_max_content_length = mo.config.MAX_BATCH_CONTENT_LENGTH
proc_form = PSF() proc_form = PSF()
proc_task_fields = [f for f in proc_form if f.name.startswith('task_')] proc_task_fields = [f for f in proc_form if f.name.startswith('task_')]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment