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

9 lines
288 B
Python

from django.conf.urls import url
from ..views.admin import AnnouncementAdminAPI, AboutUsAdminAPI
urlpatterns = [
url(r"^announcement/?$", AnnouncementAdminAPI.as_view(), name="announcement_admin_api"),
url(r"^aboutus/?$", AboutUsAdminAPI.as_view(), name="aboutus_admin_api"),
]