spug/spug_api/apps/schedule/urls.py

10 lines
188 B
Python

from django.conf.urls import url
from django.urls import path
from .views import *
urlpatterns = [
url(r'^$', Schedule.as_view()),
path('<int:t_id>/', ScheduleInfo.as_view()),
]