From 3d1f12f2a23632c5aa802e279ca535430fd78e57 Mon Sep 17 00:00:00 2001 From: virusdefender <1670873886@qq.com> Date: Mon, 24 Aug 2015 19:47:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=AF=94=E8=B5=9B=E6=8E=92?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=9A=84=20url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oj/urls.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oj/urls.py b/oj/urls.py index c1b3a57..45dc789 100644 --- a/oj/urls.py +++ b/oj/urls.py @@ -84,4 +84,6 @@ urlpatterns = [ url(r'^api/contest/password/$', ContestPasswordVerifyAPIView.as_view(), name="contest_password_verify_api"), url(r'^api/contest/submission/$', ContestSubmissionAPIView.as_view(), name="contest_submission_api"), + url(r'^contest/(?P\d+)/rank/$', "contest.views.contest_rank_page", name="contest_rank_page") + ]