Originally, a student's grading job would get added after they submitted it and then they got redirected to the submit success page. Now, with celery, you can get redirected there before celery has added your job, so the page thinks your job is done and then you go look at your results and you see a -1 as your score. Because you solution has not been graded, even though the last page said it had.
So maybe change the wordage on the submit sucess page so that it doesn't say that your problem has been graded, or maybe just skip over it entirely and go to the results page and if the score is -1 put something in parentheses like (Hey, your problem may not be graded yet, refresh this page in like a minute)
Originally, a student's grading job would get added after they submitted it and then they got redirected to the submit success page. Now, with celery, you can get redirected there before celery has added your job, so the page thinks your job is done and then you go look at your results and you see a -1 as your score. Because you solution has not been graded, even though the last page said it had. So maybe change the wordage on the submit sucess page so that it doesn't say that your problem has been graded, or maybe just skip over it entirely and go to the results page and if the score is -1 put something in parentheses like (Hey, your problem may not be graded yet, refresh this page in like a minute)