Allow multiple ways to access url and fix ci

This commit is contained in:
Chiaki
2017-04-18 15:39:49 +08:00
parent 1fcd13b5e1
commit 3caf2d9d2c
11 changed files with 27 additions and 27 deletions

View File

@@ -3,5 +3,5 @@ from django.conf.urls import url
from ..views.oj import ProblemTagAPI
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")
]