This commit is contained in:
yuetsh
2024-07-01 12:17:43 +08:00
parent 145797076d
commit c497d511dc
16 changed files with 98 additions and 97 deletions

View File

@@ -1,9 +1,9 @@
from django.urls import re_path as url
from django.urls import path
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"),
path("comment", CommentAPI.as_view()),
path("comment/statistics", CommentStatisticsAPI.as_view()),
]