Add problem vote

This commit is contained in:
cuom1999 2022-03-09 23:38:29 -06:00
parent 68c6f13926
commit 2e3a45168e
17 changed files with 685 additions and 122 deletions

View file

@ -162,6 +162,7 @@ else:
'children': [
'judge.ProblemGroup',
'judge.ProblemType',
'judge.ProblemPointsVote',
],
},
{

View file

@ -139,6 +139,8 @@ urlpatterns = [
url(r'^/tickets$', ticket.ProblemTicketListView.as_view(), name='problem_ticket_list'),
url(r'^/tickets/new$', ticket.NewProblemTicketView.as_view(), name='new_problem_ticket'),
url(r'^/vote$', problem.Vote.as_view(), name='vote'),
url(r'^/manage/submission', include([
url('^$', problem_manage.ManageProblemSubmissionView.as_view(), name='problem_manage_submissions'),
url('^/action$', problem_manage.ActionSubmissionsView.as_view(), name='problem_submissions_action'),