OnlineJudge/announcement/urls/oj.py
2019-05-01 10:44:45 +08:00

9 lines
253 B
Python

from django.conf.urls import url
from ..views.oj import AnnouncementAPI, AboutUsAPI
urlpatterns = [
url(r"^announcement/?$", AnnouncementAPI.as_view(), name="announcement_api"),
url(r"^aboutus/?$", AboutUsAPI.as_view(), name="aboutus_api"),
]