add course.py, list.html and create class CourseList
This commit is contained in:
parent
88943f40fb
commit
b629459b46
7 changed files with 97 additions and 7 deletions
|
@ -64,6 +64,7 @@ from judge.views import (
|
|||
widgets,
|
||||
internal,
|
||||
resolver,
|
||||
course,
|
||||
)
|
||||
from judge.views.problem_data import (
|
||||
ProblemDataView,
|
||||
|
@ -486,6 +487,7 @@ urlpatterns = [
|
|||
),
|
||||
),
|
||||
url(r"^contests/", paged_list_view(contests.ContestList, "contest_list")),
|
||||
url(r"^course/", paged_list_view(course.CourseList, "course_list" )),
|
||||
url(
|
||||
r"^contests/(?P<year>\d+)/(?P<month>\d+)/$",
|
||||
contests.ContestCalendar.as_view(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue