Add problem_list api.
Fix AC/Total count bug.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
from django.conf.urls import url
|
||||
|
||||
from ..views.oj import ProblemTagAPI
|
||||
from ..views.oj import ProblemTagAPI, ProblemAPI
|
||||
|
||||
urlpatterns = [
|
||||
url(r"^problem/tags/?$", ProblemTagAPI.as_view(), name="problem_tag_list_api")
|
||||
url(r"^problem/tags/?$", ProblemTagAPI.as_view(), name="problem_tag_list_api"),
|
||||
url(r"^problems/?$", ProblemAPI.as_view(), name="problem_list_api"),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user