jetta6241 / djudge

Automatically exported from code.google.com/p/djudge
0 stars 0 forks source link

An all submissions page showing latest submissions independant of a contest #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
An all submissions pages similar to the one used on SPOJ
(http://www.spoj.pl/status/) will be very helpful in tracking the overall
activity on the website.

Original issue reported on code.google.com by A.Hamm...@gmail.com on 26 Jan 2010 at 6:22

GoogleCodeExporter commented 8 years ago
In the __unicode__ function of the Submission model attempts to print 
"self.problem",
when no such attribute exists. How does this work in the scoreboard?

Also the verdict is encoded as an integer, but I could not find a mapping 
between
this integer and its meaning.

Original comment by A.Hamm...@gmail.com on 26 Jan 2010 at 6:38

GoogleCodeExporter commented 8 years ago
The integer is the index of the response in the JUDGE_RESPONSES dictionary 
found in
settings.py file

Original comment by ramy.wafa@gmail.com on 26 Jan 2010 at 11:08

GoogleCodeExporter commented 8 years ago
A basic page that does implememnts the desired functionality. I would like to 
know
how I can access the JUDGE_RESPONSES array from inside the template to be able 
to
print the string representation.Please review and tell me what u think.

Original comment by A.Hamm...@gmail.com on 26 Jan 2010 at 6:29

Attachments:

GoogleCodeExporter commented 8 years ago
I suggest renaming the templates to submissions as this might be confusing in 
the
future. The view function as well.

Original comment by moodymusic@gmail.com on 26 Jan 2010 at 11:12