OnlineJudge/forum/urls/oj.py
2020-07-19 17:10:01 +08:00

9 lines
253 B
Python

from django.conf.urls import url
from ..views.oj import ForumPostAPI, ForumReplyAPI
urlpatterns = [
url(r"^forumpost/?$", ForumPostAPI.as_view(), name="ForumPost_api"),
url(r"^forumreply/?$", ForumReplyAPI.as_view(), name="ForumReply_api"),
]