修改错误
This commit is contained in:
@@ -92,6 +92,7 @@ def check_user_contest_permission(func):
|
||||
else:
|
||||
return render(request, "oj/contest/no_contest_permission.html",
|
||||
{"reason": "password_protect", "show_tab": False, "contest": contest})
|
||||
|
||||
# 比赛没有开始
|
||||
if contest.status == CONTEST_NOT_START:
|
||||
if request.is_ajax():
|
||||
|
||||
Reference in New Issue
Block a user