From f750836a9438a290891591a9b2c2a048a950450c Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Sat, 9 Jan 2021 17:16:17 +0100
Subject: [PATCH] =?UTF-8?q?Dal=C5=A1=C3=AD=20endpointy=20pro=20=C5=99e?=
=?UTF-8?q?=C5=A1en=C3=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
mo/web/org_contest.py | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/mo/web/org_contest.py b/mo/web/org_contest.py
index 70bfd9a5..79c9f4fd 100644
--- a/mo/web/org_contest.py
+++ b/mo/web/org_contest.py
@@ -536,6 +536,24 @@ def org_submit_site_list(contest_id, site_id, user_id, task_id):
return render_template('not_implemented.html')
+@app.route('/org/contest/c/<int:contest_id>/paper/<int:paper_id>/')
+def org_submit_paper(contest_id, paper_id):
+ # sc = get_solution_context(contest_id, None, user_id, task_id)
+
+ # FIXME
+
+ return render_template('not_implemented.html')
+
+
+@app.route('/org/contest/c/<int:contest_id>/site/<int:site_id>/paper/<int:paper_id>/')
+def org_submit_site_paper(contest_id, paper_id):
+ # sc = get_solution_context(contest_id, None, user_id, task_id)
+
+ # FIXME
+
+ return render_template('not_implemented.html')
+
+
@app.route('/org/contest/c/<int:id>/proctor-import', methods=('GET', 'POST'))
def org_proctor_import(id: int):
contest, rr = get_contest_rr(id, Right.manage_contest)
--
GitLab