<reponame>darkliang/JudeeBE<filename>problem/urls.py
from django.conf.urls import url, include
from rest_framework import routers

from problem import views

routers = routers.DefaultRouter()
routers.register('problem', views.ProblemView)
routers.register('problem_tag', views.ProblemTagView)
urlpatterns = [
    url('', include(routers.urls)),
    url(r'^upload_file', views.TestCaseUploadAPI.as_view()),
    url(r'^test_case_download/([0-9]+)', views.TestCaseDownloadAPI.as_view()),
    url(r'^fps-import/$', views.FPSProblemImport.as_view()),

]
