CarletonComputerScienceSociety / core

The core application behind our online services and events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Attempts Submission Column + email, question validation

MathyouMB opened this issue · comments

Please add the Attempts column (int) to the Submission model.

Please also add validation to the model that ensures two submissions cannot be created with the same email and question id.

Add a test that validates that the model ensures two submissions cannot be created with the same email and question id.

Screenshot 2021-04-29 at 1 22 17 PM

@ApprenticeofEnder we can pair program on this when you are free to start :)

I'm green!

Got a few ideas already.

Done and dusted! #35