OnlineJudge/announcement/urls/oj.py

8 lines
174 B
Python

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