mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 08:23:20 +00:00
修改错误
This commit is contained in:
parent
85b2fef22d
commit
7af2c433c4
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user