Change wording
This commit is contained in:
parent
f6e77c67bf
commit
34305c8ec9
1 changed files with 1 additions and 1 deletions
|
@ -541,7 +541,7 @@ def problem_submit(request, problem, submission=None):
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
user_logger.info('Naughty user %s wants to submit to %s without permission',
|
user_logger.info('Naughty user %s wants to submit to %s without permission',
|
||||||
request.user.username, problem.code)
|
request.user.username, problem.code)
|
||||||
return HttpResponseForbidden('<h1>Do you want me to ban you?</h1>')
|
return HttpResponseForbidden('<h1>Not allowed to submit. Try later.</h1>')
|
||||||
raise Http404()
|
raise Http404()
|
||||||
|
|
||||||
if problem.is_editable_by(request.user):
|
if problem.is_editable_by(request.user):
|
||||||
|
|
Loading…
Reference in a new issue