From 15b0e06a4fbd1e38f76812d0e33ba2ef37a1f10c Mon Sep 17 00:00:00 2001 From: Dinh Date: Sun, 26 Jan 2020 17:32:40 -0600 Subject: [PATCH] fix urls.py --- | 1 + dmoj/urls.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ b/ index 05a5672..83027ee 100644 --- a/ +++ b/ @@ -553,3 +553,4 @@ INFO 2020-01-26 05:15:35,436 judgehandler judge1: 5 test case(s) completed on: 4 INFO 2020-01-26 05:15:35,531 judgehandler judge1: 3 test case(s) completed on: 42 INFO 2020-01-26 05:15:35,729 judgehandler judge1: Grading has ended on: 42 INFO 2020-01-26 05:15:35,729 judgelist Judge available after grading 42: judge1 +INFO 2020-01-26 05:28:39,295 judgehandler Judge disconnected from: ('127.0.0.1', 34940) diff --git a/dmoj/urls.py b/dmoj/urls.py index 0e75997..af93964 100644 --- a/dmoj/urls.py +++ b/dmoj/urls.py @@ -163,7 +163,7 @@ urlpatterns = [ url(r'^users/', include([ url(r'^$', user.users, name='user_list'), url(r'^(?P\d+)$', lambda request, page: - uncommitted HttpResponsePermanentRedirect('%s?page=%s' % (reverse('user_list'), page))), + HttpResponsePermanentRedirect('%s?page=%s' % (reverse('user_list'), page))), url(r'^find$', user.user_ranking_redirect, name='user_ranking_redirect'), ])),