Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable problem after accepted submission #5

Closed
Jl5her opened this issue Nov 11, 2020 · 1 comment
Closed

Disable problem after accepted submission #5

Jl5her opened this issue Nov 11, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request
Projects

Comments

@Jl5her
Copy link
Member

Jl5her commented Nov 11, 2020

Summary

After a team has successfully solved a problem. Disable future submissions.

Basic example

Motivation

Although why would a team make another submission, stop them from accidently doing it.

@Jl5her Jl5her added the enhancement New feature or request label Nov 11, 2020
@Jl5her Jl5her added this to To do in Version 1.0 via automation Nov 11, 2020
@Jl5her
Copy link
Member Author

Jl5her commented Nov 16, 2020

There are two places this can be implemented.

  1. Disabling the button on the front end in blue/submit.html
  2. Submit method in contest.py
    I suggest doing both, just in case someone has the problem page cached before the team submitted the problem successfully and their submit button is not disabled (thus allowing them to submit again).

@brad-cooley brad-cooley self-assigned this Nov 17, 2020
brad-cooley added a commit that referenced this issue Dec 11, 2020
@brad-cooley brad-cooley moved this from To do to Done in Version 1.0 Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

2 participants