Files
OnlineJudge/comment/urls/oj.py
2024-07-01 01:30:19 +08:00

10 lines
290 B
Python

from django.urls import re_path as url
from ..views.oj import CommentAPI, CommentStatisticsAPI
urlpatterns = [
url(r"^comment/?$", CommentAPI.as_view(), name="comment_api"),
url(r"^comment/statistics?$", CommentStatisticsAPI.as_view(), name="comment_statistics_api"),
]