mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 16:33:22 +00:00
修改错误
This commit is contained in:
parent
85b2fef22d
commit
7af2c433c4
@ -92,6 +92,7 @@ def check_user_contest_permission(func):
|
|||||||
else:
|
else:
|
||||||
return render(request, "oj/contest/no_contest_permission.html",
|
return render(request, "oj/contest/no_contest_permission.html",
|
||||||
{"reason": "password_protect", "show_tab": False, "contest": contest})
|
{"reason": "password_protect", "show_tab": False, "contest": contest})
|
||||||
|
|
||||||
# 比赛没有开始
|
# 比赛没有开始
|
||||||
if contest.status == CONTEST_NOT_START:
|
if contest.status == CONTEST_NOT_START:
|
||||||
if request.is_ajax():
|
if request.is_ajax():
|
||||||
|
Loading…
Reference in New Issue
Block a user